Hacker News new | ask | show | jobs
by pjmlp 4402 days ago
Not only that. Usually these comparisons cleverly leave out AOT compilers for the said languages to make theirs look better.

In Java's case there are quite a few JVMs, many of those with AOT compilation to choose from, even implemented in Java itself.

1 comments

For Java can you name any AOT compilers besides Excelsior JET and GCJ?
GCJ is dead.

Yes, CodenameOne, JamaicaVM, Aonix Perc and J9 all support AOT compilation besides normal JIT.

The Oracle Hotspot replacement project, Graal allows for AOT compilation via SubstrateVM.

There there is RoboVM for targeting iOS applications, with WP support getting added now.

Android is replacing Dalvik with ART, which does AOT compilation at installation time.

Probably a few more that I am not aware.

Thanks for the info, interesting the first four you mention are commercial products. Two you may find interesting: avian vm, and xml vm at one point could translate jvm bytecode to c for compilation with gcc.