3 ms·
I remember reading papers around a decade ago that combined AOT and JIT advantages by profiling that fed back into an AOT compiler. Even JIT's local optimizatio
by nickpsecurity 11y ago
I remember reading papers around a decade ago that combined AOT and JIT advantages by profiling that fed back into an AOT compiler. Even JIT's local optimizations can happen by sending an AST to a client to AOT compile and then run, optionally with a profile to further direct optimization. These kinds of methods, minus profile, were done with agent-oriented tech in 90's and in Juice project that used compiled, Oberon AST's to replace JavaScript.
Most of what we're doing isn't about what's technically the best so much as what was and is popular. That's for backward compatibility, integration, network, and marketing benefits. A clean slate attempt at profiling-guided AOT compilation, at server or binary, could probably match or do a lot better than most modern stuff.