~/talk

JavaScript Visualized: A Script's Life

Talkat Reactathon 2020 · 2020-03-30..03-31· [javascript, data-visualization]
slides:none on file

Starts at HTML fetch, decodes bytes to tokens, parses into an AST and hands it to V8's Ignition bytecode interpreter which emits register-based bytecode (uses r0, r2 and an accumulator and a0 points to a shape table). Example: object {x:10,y:20,z:30} runs ops to produce 1100. Inline caches record shapes and feedback vector types; repeated calls trigger the Turbofan optimizer to emit machine code, but differing shapes cause deopt back to bytecode and extra overhead.

AI-written summary · about

  1. 0:00Introduction to V8
  2. 0:37Parsing JavaScript
  3. 2:03Bytecode Generation
  4. 5:03Shapes and Inline Caching
  5. 7:33Machine Code Optimization
  6. 10:06Summary and Resources
~/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.