JavaScript at the Speed of Light
summary
Describes a statically constrained JavaScript subset that achieves near‑C++ numeric performance by removing runtime polymorphism and GC assumptions so engines can emit direct loads/stores. Implements typed numeric arrays, sealed classes, and hidden-class stability via a transpiler; prototypes landed in V8 and SpiderMonkey behind flags and benchmarks show large speedups for tight numeric loops while general JavaScript behavior is unchanged.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:30V8 hidden classes
- 7:31Array optimization
- 15:40Language limits
- 27:22Strict Mode typing
- 36:21Strict Mode in web dev
- 41:37Strict Mode vs TypeScript/Dart
- 48:17Strict Mode adoption
- 51:28Current developments
related talks
31mJavaScript Compilation Techniques or "Wasn't JavaScript supposed to be slow?"
29mJavaScript in JavaScript: Inception
27mThe Life of a JavaScript Feature in V8 ft. TypedArrays
39mHow much performance can you get out of Javascript?
29mJavaScript Engines: How Do They Even?
29mExtreme JavaScript Performance
26mJavaScript JITs
42mScala.js Semantics - and how they support performance and JavaScript interop
