Re:Author of LuaJIT explains why compilers can't beat hand-c...
by _delirium on Thursday May 26, 2011 @03:53PM
(#2589168)
I wonder how close you'd get to that by running the interpreter with gcc's or llvm's profiling on, and then recompiling with profile-guided optimization. If it's just a matter of compilers having heuristics tuned towards the wrong kind of workload, PGO ought to re-tune them appropriately, if enough of the heuristics in question actually look at the profiling data.
[ Parent
| on HN ]
Re:Author of LuaJIT explains why compilers can't beat hand-c...
by caf on Thursday May 26, 2011 @08:29PM
(#2589972)
I was thinking this too - you would think that profile guided optimisation ought to be able to identify the slow paths.
Re:Author of LuaJIT explains why compilers can't beat hand-c...
by stcredzero on Thursday May 26, 2011 @04:03PM
(#2589210)
Either way, I think the field would benefit if tools like that made writing fast JIT VM easier.