~/talk

A Tale of Types, Classes, and Maps

Talkat JSCamp 2018 · on Thursday, 2018-07-19· [javascript, web-performance]

Maps out how JavaScript engines turn object shapes into concrete runtime structures and what actually moves performance: hidden classes (maps) that record property order, inline caches that specialize lookups, and the shift to dictionary mode when shapes become polymorphic. Builds small microbenchmarks and inspects engine traces and memory layouts to show which code patterns force deoptimizations, measures lookup and allocation cost changes, and implements simple rewrites that produce consistent, verifiable speedups.

AI-written summary · about

  1. 0:00Introduction
  2. 5:46Type systems in programming
  3. 12:11Class-based abstractions
  4. 20:40Map data structures
  5. 28:12Performance implications
  6. 35:49Use cases and examples
  7. 39:49Q&A
~/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.