Join the discussion
Write your take first — we'll ask for email only when you're ready to publish.
- Hacker News
- Welcome to ngen and GAC, Javaby stevefan1999
- A little late, isn't it? .NET has had this for over 20 years (pre-compile).by hn_submit
- I hope at some point we'll get AOT-only mode (or compile to native) and maybe even cross-compilation.by java-man
- Startup time being the main benefit means simple training runs get you most of the value. Going for peak throughput is where the setup gets heavy.by harlan_pdx
- What are the architectural differences between this and Android's ahead-of-time runtime?by treyd
- Why would you not AOT compile at install time?! That would allow the compile to use CPU-specific features? And put a compiled preamble for class initialization on applicable functions that patches the VTABLE to skip the class initialization code.by rerdavies
- Leyden has been relying pretty heavily on training runs which I get, but man is that a pretty hard burden to setup.
The tooling for doing these sorts of training runs doesn't really exist, you end up needing to do something more bespoke as part of your build pipeline if you want it there. That can be especially tricky with more complicated applications like the ones I maintain.
I like what these can deliver, but dislike the effort needed to get it going.
by cogman10 - Excelsior JET did that 25 years ago: https://en.wikipedia.org/wiki/Excelsior_JET
It's a shame that Sun/Oracle never partnered with them to bring native apps. This could have saved Java on the desktop.
by cyberax