Secrets of the Glimmer VM
summary
Glimmer compiles Handlebars templates into a compact binary bytecode executed by a tiny Glimmer VM runtime (~20KB runtime), shipping per-component payloads near 1.4× template size and avoiding a JS parse step. A Galaxy S3 demo shows initial render competitive with preact, while incremental rendering via requestIdleCallback yields smooth 60fps and far lower jank. Partial evaluation produces specialized update programs during first render so subsequent updates touch minimal DOM, and server streaming plus incremental rehydration further reduce perceived load.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:38Web Performance
- 4:30Glimmer Is Written in Typescript
- 8:17Insight of Glimmer
- 9:46The Glimmer Compiler
- 10:25Glimmer Bytecode
- 15:33Initialize the Glimmer Application
- 16:10Demo
- 23:33Partial Evaluation
- 24:37What Makes a React App Slow
- 31:43The Glimmer Playground
related talks
20mSecrets of the DOM Virtual Machine
47mImport-Substituting Svelte, or How I Made Glimmer 40% Faster
28mCompilers: The New Frontier In Web Performance
32mCompilers: The Next Frontier in Web Performance
28mLa nouvelle vague
01h 14mSvelteJS Under the Hood
38mRapidly building with Gleam
40mSvelte, cybernetically enhanced web apps
