Compilers: The New Frontier In Web Performance
summary
Claim: compiling declarative templates to a binary format cuts browser parse and compile cost. Evidence: templates make up 25–40% of Ember apps, a contrived benchmark uses 50 article components with a 5× CPU slowdown and shows the Glimmer VM produces much lower parse/compile time than React/Preact. Implementation details: templates compile to numeric opcodes executed by a VM, parts are rewritten in Rust and emitted as Glimmer VM + WebAssembly. LinkedIn rebuilt its feed in Preact and Glimmer and finds Glimmer slightly faster.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 0:53What is a compiler
- 1:50Browser compilers
- 2:10Douglas Crockford
- 2:25Yui Compressor
- 3:20ES4 Death
- 4:10The Enlightenment
- 5:10Javascript
- 5:38Closure Compiler
- 7:06Modern Compilers
- 7:18JavaScript Abuse
- 8:07ParseCompile
- 9:09Ember
- 10:32Vue Angular
- 11:09Typed Array
- 13:57How do we do this
- 14:50Compiler
- 16:45Execution
- 19:58WebAssembly
- 20:26WebAssembly in the Glimmer VM
- 22:29Conclusion
- 23:10Mr Crab








