4 ms·
Seems like your information is well out of date, then. Profiling JITs can produce better code than the best optimizing C compilers.
by jrockway 16y ago
Seems like your information is well out of date, then. Profiling JITs can produce better code than the best optimizing C compilers.
- stcredzero 16y agoIt could be. It's been 7 years since I was in a company that produced a VM.
- jrockway 16y agoI think the technology is probably that old; it seems to take industry 30 years or so before they are willing to look at relevant research ;) Anyway, the LLVM and JVM are good examples of JIT optimization. Tracemonkey also has some good ideas, and GHC and SBCL's VMs also show how to write static compilers that do better than C. (LLVM is interesting in that it compiles C to run on the VM, and this C does better than gcc's statically-compiled C. When C is faster than C, it kind of calls into question the validity of the "faster than C" criterion ;)