[
Lists Home |
Date Index |
Thread Index
]
I got it from a CORBA committee member that I used to share an office
with - but isn't it self-evident?
IDL syntax looks almost exactly like C++ with the addition of in, out,
etc...
Also, what's IDL mostly used for? To generate proxies and stubs and
metadata that the C++ compiler gleefully throws away. If you don't
generate that code, then you can't simulate dynamic invocation. Plus
the compiler won't let you send a message - sorry - call a function on
an object that isn't explicitly derived from that interface.
OTOH, more dynamic languages will allow you to simply query the class
and you can dispense with the IDL as its information can be
automatically generated by interrogation.
I would again invite you to look for information on NextStep PDO.
There's no IDL needed. It does basically the same thing.
On Tuesday, October 22, 2002, at 11:31 PM, J.Pietschmann wrote:
> tblanchard@mac.com wrote:
>> C++ is an extremely poor application development language with
>> compile time static binding and no (useful) runtime metadata.
>> To work around that, the CORBA people (who were also quite enamored
>> with C++) invented IDL (Interface Definition Language).
>
> Umm, where did you read this? I had always the impression IDL
> was invented for the purpose described in its name, and I have
> no idea what this has to do with static typing or runtime
> metadata.
>
> J.Pietschmann
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
|