Hacker News new | ask | show | jobs
by _old_dude_ 3278 days ago
With AOT compilation, you are not minimizing the size of the JRE. The Java bytecode is more compact than any assembly code because it is more high level.

So with jlink, you are reducing the size of the JDK by creating your own JDK and with jaotc, you are augmenting the size of the JDK but have a faster startup (not sure) or at least less jitter (no JIT) (sorry for the pun).

1 comments

I think you're in agreement with meddlepal. The idea is that if you want to do AOT, it would be nice to be able to minimize how much of the JRE you need to link in (via help from the module system).