~/talk

V8 internals for JS developers

Talkat JSHeroes 2018 · on Thursday, 2018-04-12· [javascript]
slides:none on file

Shows that small, concrete V8 facts change choices: arrays have element kinds like packed SMI elements vs holey double elements, transitions only go downward, holes force prototype lookups and slow everything. Chrome moved to Ignition + Turbofan (Chrome 59+) and progressively folders in per-kind optimizations. Debug builds of d8 expose kinds via %DebugPrint. Preallocating new Array(9001) creates holes; pushing keeps arrays packed but triggers about sixteen reallocations from the initial 16-slot buffer.

AI-written summary · about

  1. 0:00Start
  2. 2:03Array Indexes
  3. 8:47Bounce Check
  4. 13:00Fine and Find Index
  5. 20:01Array like Objects
  6. 21:10Arguments Object
  7. 21:57Arrays
  8. 24:30Recap
~/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.