4 ms·
If you are talking about Java's AOT feature (JEP 295: http://openjdk.java.net/jeps/295 http://openjdk.java.net/jeps/295) then I don't think it is true AFAICS. T
by readittwice 9y ago
If you are talking about Java's AOT feature (JEP 295: http://openjdk.java.net/jeps/295 http://openjdk.java.net/jeps/295) then I don't think it is true AFAICS. The JVM is still needed, Java-Code can be compiled into a shared library but this is "just" a code-cache that can be passed to the JVM when starting the application. This feature is mainly aimed for improving startup.
- kuschku 9y agoI’ll link you the beautiful thing I’m referring to: https://github.com/graalvm/graal/tree/master/substratevm https://github.com/graalvm/graal/tree/master/substratevm
- readittwice 9y agoAh thanks, I got confused because you mentioned Java 9. I really hope Substrate VM or something similar gets into the JDK. Having the option of AOT-compilation or using jlink for bundling would be amazing.