3 ms·
AOT compiler.... Compiler to native code? aren't the big performance gains done in the JVM?
by Scarbutt 11y ago
AOT compiler....
Compiler to native code? aren't the big performance gains done in the JVM?
- pjmlp 11y agoNot if startup time matters or if you need to deploy into systems where dynamic linking is not possible. The majority of the commercial third party JVM vendors do offer AOT as part of their toolchain. Similarly .NET always had a JIT/AOT model. The novelty with .NET Native is static compilation and integration of the Visual C++ backend. I don't if this is true, but I read somewhere that AOT was tabu at Sun. Oracle is now improving Java to cover the use cases where it still fails short vs other alternatives, so having an AOT compiler in the reference JDK instead of forcing devs to get it from a third party is part of their roadmap. How it will look like in the end, it is not 100% clear.