Based on Andreas Gal’s 2006 HotPathVM paper [PDF, 10pp] as well as his doctoral dissertation on bytecode compilation in VMs [zipped PDF, 138pp], TraceMonkey is offering speedups to rival those of the V8 JsVM. This is very worthy of note as both sides are open source and so can borrow learning and code from each other. Competition is good; open competition is even gooder. ;]
I’m not educated enough to offer in-depth commentary, so here’s a quick collection of the announcements and discussions from those who are:
- Mike Shaver’s original TraceMonkey announcement
- Brendan Eich’s announcement, complete with benchmarks and metrics galore
- Andreas Gal’s discussion of the underpinnings
- David Anderson’s in-depth discussion of what trace-based compiling is
I’m starting to wonder if Chrome’s accidental release wasn’t as much a mailroom mistake as it was a tactic to not be an also-ran.