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



-----BEGIN PGP SIGNED MESSAGE-----
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
library.

- - Aidan

- -- 
http://www.skinner.demon.co.uk/aidan/
http://www.gla.ac.uk/Clubs/WebSoc/~9704075s/
"I could always suspend a few hundred accounts and watch what happens"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: please see http://www.skinner.demon.co.uk/aidan/keys/ for keys.

iD8DBQE4QExuWyka/GZM+OgRAncDAKCVgd9t4rrQfVEpgBm1VjrsYJhVEQCZAWZ9
gA9448DWDwFcdArzxunATAI=
=6HIn
-----END PGP SIGNATURE-----



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