Fast and Dynamic
summary
Claim: the performance gap between static and dynamic languages is closing through JIT techniques and smarter analyses. Evidence: hidden classes (maps), inline caches and type feedback power V8/Crankshaft; Firefox adds hybrid type inference and beats Chrome on some benchmarks; Self-era systems reach “up to half the speed of optimized C.” New work builds a small JS VM called Higgs VM and implements basic block versioning, which generates type-specialized block versions, cuts dynamic type tests significantly, causes little code blowup and small compilation cost.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 0:30Programming languages
- 4:52Features
- 6:33Garbage Collection
- 7:28Dynamic Type Tests
- 8:38Dynamic Properties
- 10:11Type Tags
- 14:55lisp
- 17:08scheme
- 17:55xerox spark
- 24:51block versioning
- 29:30multiworld approach
- 30:18the future
- 34:30from list
related talks
26mJavaScript JITs
29mJavaScript Engines: How Do They Even?
25mJavaScript engines how do they even?
31mJavaScript Compilation Techniques or "Wasn't JavaScript supposed to be slow?"
29mJavaScript in JavaScript: Inception
26mJavaScript VMs 101
33mJavaScript: The V8 Engine optimization tips (...)
22mHigh Performance JS in V8
