~/talk

Alice's Adventures in Memoryland

Talkat JSDayIE 2023 · on Tuesday, 2023-09-26· [javascript, web-performance]
slides:none on file

Explains how JavaScript objects become zeros and ones by tracing allocation from virtual RAM to physical cells, demonstrates heap snapshots in Chrome DevTools, describes V8 memory layout (stack, young generation 1–8MB split into from/to spaces, old generation) and GC algorithms (copying scavenger, mark‑sweep‑compact), cites that roughly 20% survive promotion, notes Orinoco runs scavenges and parallel major GC across up to seven threads, and shows string interning, shallow copy pitfalls, and when fragmentation forces compaction.

AI-written summary · about

  1. 0:00Introduction to memory in JavaScript
  2. 1:22Binary code and memory basics
  3. 3:52RAM and memory cells
  4. 6:22Heap and stack in JavaScript
  5. 8:11JavaScript engines like V8
  6. 9:15Memory allocation in V8
  7. 11:44String interning in JavaScript
  8. 13:08Modification by reference
  9. 15:56Garbage collection overview
  10. 17:41Young generation GC
  11. 20:52Old generation GC
  12. 24:26Mark-sweep-compact process
  13. 25:28Recap of memory journey
  14. 27:12Closing 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.