~/talk

Compilers: The New Frontier In Web Performance

Talkat DinosaurJS 2018 · 2018-06-21..06-22· [web-performance, webassembly]
slides:none on file

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

  1. 0:00Introduction
  2. 0:53What is a compiler
  3. 1:50Browser compilers
  4. 2:10Douglas Crockford
  5. 2:25Yui Compressor
  6. 3:20ES4 Death
  7. 4:10The Enlightenment
  8. 5:10Javascript
  9. 5:38Closure Compiler
  10. 7:06Modern Compilers
  11. 7:18JavaScript Abuse
  12. 8:07ParseCompile
  13. 9:09Ember
  14. 10:32Vue Angular
  15. 11:09Typed Array
  16. 13:57How do we do this
  17. 14:50Compiler
  18. 16:45Execution
  19. 19:58WebAssembly
  20. 20:26WebAssembly in the Glimmer VM
  21. 22:29Conclusion
  22. 23:10Mr Crab
~/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.