This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: SV: SV: [ANNOUNCE] Gcc 3.0 released. Features Java languagesuppo rt.
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: SV: SV: [ANNOUNCE] Gcc 3.0 released. Features Java languagesuppo rt.
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Thu, 21 Jun 2001 02:59:07 -0400 (EDT)
- cc: Jan-Olof Janson <joj at dynagraph dot se>, "'java at gcc dot gnu dot org'" <java at gcc dot gnu dot org>
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