C++ to bytecode?

Andrew Haley aph@cambridge.redhat.com
Tue Jun 25 09:43:00 GMT 2002


Dale E Martin writes:
 > Hello! I'm a newbie on this list, and pretty much a newbie to gcj. First
 > off, thanks for the work - I think gcj is very cool and something whose
 > time has come!
 > 
 > What I'm interested in is how generic the bytecode backend is? Is it
 > possible (with some work obviously) to have the bytecode backend general
 > enough to hook it to the other front ends, specifically, the g++ front end?
No. The problem is that the semantics of Java an C++ are really quite
different, and without a good deal of work it wouldn't be possible to
generate bytecode in this way. Also, many of the tricks that C
programmers commonly use to override the type system wouldn't work.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /