Hacker News new | ask | show | jobs
by jasonwatkinspdx 5260 days ago
While the benchmark is certainly valid, he general argument is weak and he comes to a mistaken conclusion.

The argument assumes that compiling a program is a fixed amount of work, hence a AOT compiler will always have an advantage.

This is wrong.

We can chose how much effort a compiler expends, and this choice has a complex relationship with the execution speed of our built program. Read Andreas Gal’s PhD thesis, then look through the source of LuaJIT for an example of how one can achieve peak execution speed while spending only a fraction of the time that’s typical inside the compilation machinery.

What this means is that AOT vs JIT vs Tracing is a complex topic with no simple winner. Real systems will increasingly be hybrids.

Lastly, wtf does Santa have to do with anything? If you’re making a claim, support it with a logical argument and evidence, not a lame rhetorical appeal.