3 ms·
I would have thought that Jikes was a better bootstrap compiler than GCJ.
by rjsw 10y ago
I would have thought that Jikes was a better bootstrap compiler than GCJ.
- nn3 10y agoIsn't jikes written in Java? You would need to bootstrap it first.
- correktlogic 10y agoI was a contributor to Jikes back in the day. The open sourced IBM Jikes compiler was written in C++. But it didn't produce native code. It produced .class files from .java files.
- rjsw 10y agoYou need to be able to produce .class files, as well as C headers, to bootstrap the Sun JDK. You don't need to compile Java to native code.
- correktlogic 10y agoJikes didn't have any javah-like functionality to generate .h files to my knowledge.
- mickronome 10y agoI think Jikes RVM needed some kind of bytecode interpreter to build itself, but I don't think it would need to be very advanced. Slow would also be OK since the part getting compiled was not terribly big. Don't know if it could help in any practical way, but it's a fun piece of technology!