~/talk

V8 Internals for JS Developers

Talkat NodeConf Argentina 2017 · on Friday, 2017-10-27· [javascript]
slides:none on file

V8 exposes about twenty distinct elements kinds and the talk shows how arrays transition irreversibly from specific (SMI) to general (double, object) formats, and from packed to hole arrays which costs extra prototype lookups. Practical tests use the d8 debug binary and internal %-prefixed helpers — e.g. use d8 and %DebugPrint to inspect an array’s elements kind. Concrete advice: avoid creating holes, normalize -0/NaN/Infinity, prefer typed arrays or push-filled literals for best numeric performance.

AI-written summary · about

  1. 0:00Start
  2. 1:29Array Indexes
  3. 2:06Elements Kinds
  4. 16:11None and Infinity
  5. 17:10Objects in Java
  6. 21:23Recap
~/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.