Re: IDL?

Jayakumar Muthukumarasamy ([email protected])
Wed, 14 Dec 1994 10:48:10 -0500 (EST)

>
> Hi,
>
> Eg, rather than saying
>
> interface Template {
> void add_part (in Template);
> attribute <sequence, Template> parts;
> }
>
> we say
>
> interface Template {
> void add_part (in Template);
> Template_Iter get_parts ();
> }
>
> The iterator allows us to hide the representation of sequences, and makes it
> easier to bind the idl with the Amulet representation.
>

Are we planning to generate code using the IDL's we define? The
problem I have with it, is that we will tie all of our implementation to
the version of CORBA that we are using. Different CORBA impl's use different
styles for generating C++ code and the styles are generally incompatible.
Also, generation typically produces more code than is necessary. Moreover,
we are not immune to changes in code generation between versions of CORBA.
I am defining the interface for Application-IDL using IDL, but, I think the
implementation can be done by hand. It would be OK as long as it conforms
to the IDL specs. Your comments are solicited.

-jk