On Monday, 21 July 2014 at 18:31:46 UTC, Russel Winder via
Digitalmars-d wrote:
On Sun, 2014-07-20 at 16:40 +0000, Paulo Pinto via
Digitalmars-d wrote:
[…]
Java has AOT compilers available since the early days. Most
developers just tend to ignore them, because they are not part
of the free package.
Also, it is not entirely clear that AOT optimization can beat
JIT
optimization, at least on the JVM.
Yes it can, if developers bother to do PGO + AOT instead and
learn the compiler flags.
I used to have a stronger opinion on JIT, but given how many JITs
perform and do not actually use the hardware as they, in theory
could, JIT tend to only be an advantage for dynamic languages not
strong typed ones.
With JIT, writing the code in a way that makes the JIT compiler
happy is a lost battle, as it depends on the exact same JIT
implementation being available on the deployment system.
--
Paulo