~/talk

JavaScript VMs 101

Talkat Nordic.js 2022 · 2022-10-06..10-07· [javascript, web-performance]
slides:none on file

Covers how modern JavaScript engines actually speed code: history from AST interpreters to bytecode and JITs, concrete techniques like structures (hidden classes) and inline caching, and the runtime behavior of adaptive recompilation across a multi-tier pipeline. Gives measured effects (baseline ~2.4×, further optimizers ~2× more, higher tiers another order), focuses on JavaScriptCore but ties to other VMs, and explains when optimizations win or rollback.

AI-written summary · about

  1. 0:00Start
  2. 4:08Lexing (lexical analysis)
  3. 4:32Parsing (syntactic analysis)
  4. 5:01Interpreter
  5. 9:40Property Access
  6. 14:07Structures
  7. 16:15Inline Caching
  8. 18:20Adaptive Recompilation
~/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.