~/talk

V8 internals for JavaScript developers

Talkat JSConf AU 2018 · on Tuesday, 2018-04-10· [javascript]

Explains how V8 classifies arrays into packed vs holy arrays, how element kinds transition only downward (SMI → double → object) and how single values like -0, NaN or a string force costly transitions; shows that Chrome 59/61/64 add progressively finer TurboFan/Ignition optimizations. Gives concrete rules: avoid creating holes, avoid reading past length, prefer rest params over arguments, or convert array‑likes to real arrays. Demonstrates using a debug build and d8 with %DebugPrint to inspect an array’s elements kind.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55Properties
  3. 1:39Array
  4. 3:26Elements
  5. 4:08Holes
  6. 5:15Example
  7. 7:48Holy Array
  8. 8:38Elements kinds
  9. 14:03Array literal
  10. 14:42Array loops
  11. 18:42Array like objects
  12. 22:50Recap
  13. 23:43Arrays
~/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.