Re: Easing language bindings (was Re: GtkPlot widget)

Hash: SHA1

On Sat, 27 Nov 1999, ERDI Gergo wrote:

> I think a more clean solution would be to use IDLs instead of native C
> source files for interface description. Not to mention that implementation

I don't see that the descriptions being in C is *that* much of a
problem, but IDL would be better. 

The question is which IDL?

I think using the CORBA IDL would be nice since it's standardised, and
there's standardised mappings from it to a large variety of other
languages (eg. C, C++, Java, Ada, ...). Unfortunately there aren't
mappings to all languages (I don't think that there's a CORBA -->
Haskell mapping for instance, or Perl for that matter, but I don't
have any CORBA books handy atm so might well be wrong).

> (be in C, C++, Pascal, Perl or whatnot) should be separated from the API
> if you mean it when you say language independence.

We'd still want a walker to keep the IDL descriptions in sync with the
implementations and reduce the burden on the people maintaining the

- - Aidan

- --
"I could always suspend a few hundred accounts and watch what happens"
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: please see for keys.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]