~/talk

Alice's Adventures in Memory Management, or how JavaScript objects work

Talkat React Alicante 2022 · 2022-09-29..10-01· [javascript, web-performance]
slides:none on file

Covers how V8 lays out values on stack and heap and how strings and objects become pointers, explains string interning and small-int SMIs, shows the Young Generation versus old generation lifecycle, and names the algorithms: scavenger (copying from/to) for ~1–8 MB young space and mark-and-sweep plus compaction for the old space. Demonstrates stop‑the‑world pauses, why fragmentation happens, when objects get promoted, and what causes visible UI jank.

AI-written summary · about

  1. 0:00Introduction
  2. 5:39Memory Types
  3. 7:50String Interlining
  4. 9:05Objects
  5. 15:34Conclusion
~/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.