~/talk

V8 by example: A journey through the compilation pipeline

Talkat FrontCon 2019 · on Thursday, 2019-04-04· [javascript, web-performance]
slides:none on file

Walks through V8’s pipeline with concrete artifacts: Ignition produces bytecode, feedback vectors collect runtime types, and Turbofan produces optimized assembly that is actually printed and inspected. Shows a real add function optimized for small integers under speculative optimization and then deoptimized when a 1.1 float arrives (trace shows the offending values). Demonstrates debug flags that emit profiling dumps and an explicit optimize-on-next-call, so the tools used and the exact failure mode and mitigation are visible and reproducible.

AI-written summary · about

  1. 0:00Start
  2. 7:48Speculative Optimization
  3. 8:25Three Reasons Why a Certain Javascript Function Might Need Optimization
  4. 10:06Abstract Syntax Tree
  5. 11:31Byte Code
  6. 16:27The Feedback Lattice
  7. 17:50Triggering Optimization
  8. 18:53Prologue
  9. 24:09The Biggest Problems That Actually Makes Code Slow in Javascript
  10. 26:34Typescript Generics
~/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.