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

Abstract machines and just-in-time compilers make languages like Java more efficient, not less. Compilation direct to machine code for many languages that are more dynamic produces inefficient code because it has to be pessimistic. Even C can sometimes run faster on an abstract machine (concrete example is inlining through function pointers at runtime when they can’t be at compile time.)

Compare the efficiency of the same Java machine code compilers in AOT mode to them in JIT mode - JIT is more efficient for anything beyond short-living programs.

That doesn't address your concern about distribution - so that does still remain.




"Abstract machines and just-in-time compilers make languages like Java more efficient, not less."

More efficient when compared to itself, but still extremely slow and inefficient compared to a straight machine code binary executable.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: