This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: using gcj for a different language - is it possible?



On Jan 8, 2004, at 12:12, Tom Tromey wrote:
Florin> Are the two runtimes (gcj and Objective-C) similar/related?
Florin> Is there any bridge between the two?

As far as I know nobody has done any work in this area.  I don't know
Objective-C either, so I can't really offer a guess at how difficult
this would be.

I am replying this to because I have some intentions to add a bridge between the two
languages in the future. Right now the objective-C runtime does not know anything
about the GCJ's runtime and other way is true also.


The Objective-C runtime always calls a single function to get message passed to an
object while Java almost always uses vtables. Both can do runtime loading of classes.
I have not looked into how Java stores it classes that are loaded runtime but
you can read libobjc's source to find out how Objective-C stores it.



Thanks, Andrew Pinski pinskia@gcc.gnu.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]