http://stackoverflow.com/questions/3032727/java-jre-vs-gcj
Did anyone used GCJ for something in production?
http://stackoverflow.com/questions/3032727/java-jre-vs-gcj
Did anyone used GCJ for something in production?
In the end, the full java spec doesn't lend itself to aot, because if you claim to be "real" java you have to include support for runtime classloading, which means there has to be a bytecode interpreter embedded in there somewhere. My thoughts are now, if you really want a java/c# style aot language, vala is the way forward.
What about D?
In .NET Native you have to explicitly inform the compiler of any kind of reflection behavior you might require.
No restrictions on reflection, unlike .NET Native (which has slightly different design goals).
I've used it many times for just this reason with great results. Plus, the runtime was re-licensed to MIT/X11.
https://gcc.gnu.org/onlinedocs/gcj/About-CNI.html#About-CNI
Could be used for scripting and extensibility purposes.