News for hackers. Stuff that matters.
Re:Why Aren’t More Users More Happy with Our VMs? Part 1 by cm2187 on Thursday September 06, 2018 @07:12AM (#17925375)
But you don't need JIT for that. You need an intermediary language (ByteCode / MSIL). In a non-JIT world you would use ByteCode/MSIL libraries, and just before deploying, statically compile them for the platform they will be deployed to. JIT just means you are doing that step everytime the program runs (+/- caching) for every machine.
Re:Why Aren’t More Users More Happy with Our VMs? Part 1 by pron on Thursday September 06, 2018 @08:10AM (#17925631)
You cannot efficiently compile ahead of time languages whose semantics heavily rely on dynamic dispatch. AOT profile-guided optimization would help, but it carries added effort (and still cannot be as aggressive if there is no possibility of deoptimization and recompilation by a JIT). Intermediate representation is completely irrelevant.

Java now offers "deploy-time" AOT compilation, and the results are not as good as a JIT (YMMV).

Re:Why Aren’t More Users More Happy with Our VMs? Part 1 by pjmlp on Thursday September 06, 2018 @09:54AM (#17926264)
Java now offers "deploy-time" AOT compilation for free.

It has been available since the early days in commercial JDKs and initially it was the deployment option on IBM mainframes, by converting JVM bytecodes into the bytecodes of the mainframe execution environments.