GNOME and high-level languages
Posted May 12, 2005 14:58 UTC (Thu) by
liljencrantz (subscriber, #28458)
In reply to:
GNOME and high-level languages by dhess
Parent article:
A new Harmony Project
I would very much like to see a solution where code included in the default Gnome desktop could be written in any language so long as there was a standard way to automatically generate high quality bindings for any other supported language.
I see three ways of doing this:
1) Make sure you can always generate C bindings, and use one of the binding generators to generate all other bindings. If I'm not mistaken, Java, Mono and Python should all be able to do this. Java has a bit of a head start because you should be able to wrap something around CNI to move from C++ to C and make some form of bridge that removes the idiotic Java style strings, and makes sure the Java GC interacts nicely other GCs and with non-GC languages.
2) Try using Corba/Orb or some messaging bus. This has been tried a large number of times, and it always ends up as a spectacular failure. But maybe a less ambitious approach, like specifying a communication protocol on how to talk to libraries over DBUS, would have a chance.
3) Pick the one true VM, and make everything run on it.
(
Log in to post comments)