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]

Re: SV: SV: [ANNOUNCE] Gcc 3.0 released. Features Java languagesuppo rt.




On 20 Jun 2001, Tom Tromey wrote:
> >>>>> "Jan-Olof" == Jan-Olof Janson <joj@dynagraph.se> writes:
> 
> Jan-Olof> Is there any Java to C converter?
> 
> Not as part of gcj.
> 
> I'm having a hard time imagining why you would want a java-to-c
> converter, given the existence of gcj.  But if you really want one
> there are a couple on the net.  I forget what they are called though.

Toba was one.  IIRC it was a university project that has been cancelled.
It wasn't quite complete and isn't likely to be ever maintained.

Java->C isn't really a straightforward translation anyway.  It's hard to
express exception handling (efficiently, at least), method overloading and
method/interface lookups and still generate readable source.  (And
unreadable, portable C doesn't really have any advantages over Java
bytecode.)

Jeff


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