~/talk

JavaScript Engines: How Do They Even?

Talkat DinosaurJS 2017 · on Thursday, 2017-06-15· [javascript, web-platform]
links:none on file
slides:none on file

Explains why modern JavaScript is fast: V8 uses a baseline compiler (Ignition) and an optimizing compiler (Turbofan) with speculative inlined optimizations that produce a measured 100x speedup since 2000. Shows concrete techniques: inline caches and hidden‑class (map) shape checks, deoptimization fallback when assumptions break, and how to inspect bytecode and optimizations with Chrome/Node flags like --print-bytecode to see what the engine actually generates.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04JavaScript engines importance
  3. 3:14Engine competition
  4. 4:40How compilers work
  5. 6:28Just-in-time compilation in JavaScript engines
  6. 8:16Baseline and optimizing compilers
  7. 10:48Compiler pipeline
  8. 11:09Optimizing addition
  9. 18:12Optimizing object access
  10. 23:18Optimization impact
  11. 24:00Writing optimized code
  12. 25:10Q&A
~/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.