c/c++ to bytecode

Dalibor Topic robilad@kaffe.org
Thu Sep 21 12:24:00 GMT 2006

Stefan Ulbrich wrote:

> hello,
> though c++ being a superset of java, I wonder if it is possible to 
> compile c/c++ code to java bytecode. Is this possible? 

It is possible. An effort to do that for source code was 
http://ovid.tigris.org/Ephedra/ and there is a bunch of links on the 
site that lead further.
Another approach is binary translation to bytecode, like 
nestedvm.ibex.org does it.
Finally, Trent Waddington wrote a jvm backend for gcc, available at 

dalibor topic

More information about the Java mailing list