Hacker News new | past | comments | ask | show | jobs | submit login

I suppose ahead-of-time compiling everything so there is no compiler in any application node is a technique that is still some years away.



The article addresses this actually. For a language like Java, the jit is the source of a ton of it's performance.

Think of it more like continuous PGO, but the delta perf improvement is much higher.


The problem is that requires a closed world approach, or constrained usage of reflection.

Yes there have been AOT compilers since around 2000, however you will notice that they target specific deployment cases, and also offer JIT caches in alternative.

Actually that is also how Android rebooted their AOT efforts in version 7.

You can see it in GraalVM and native image as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: