~/talk

Secrets of the DOM Virtual Machine

Talkat dotJS 2017 · on Friday, 2017-12-01· [javascript, frontend-architecture]
slides:none on file

Compiles Handlebars-style templates into compact bytecode executed by a tiny JavaScript virtual machine, reducing download and parse cost — example template compiles to 179 bytes and the runtime is a small VM library called glimmer VM. Benchmarks on a Galaxy S3 convert 50 Wikipedia pages and show initial-render parity with virtual DOM and markedly faster updates when a tight counter runs, thanks to partial evaluation that emits specialized update programs; also implements incremental rendering via iterator + requestIdleCallback for 60fps responsiveness.

AI-written summary · about

  1. 0:00Start
  2. 3:38Instant Templates
  3. 9:59Optimized Updates
  4. 11:53APPENDING VM UPDATING VM
  5. 16:2260fps Incremental Rendering
  6. 17:33Demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.