~/talk

The secret life of Not-a-Number!

Talkat !!Con West 2019 · on Monday, 2019-03-25· [javascript, web-platform]
links:none on file
slides:none on file

Explains that IEEE doubles leave a 51-bit NaN payload that gets reused to encode runtime values so the engine avoids extra words and register pressure. Shows NaN-boxing used in JavaScriptCore (and variants in SpiderMonkey and LuaJIT): 48-bit pointers, 32-bit integers, and a few singleton tags fit into the payload, the bit layout is concrete, and the hack actually runs in shipping engines and improves memory and performance.

AI-written summary · about

  1. 0:00Start
  2. 0:37The Secret Life of Not a Number
  3. 0:50The Floating Point Standard
  4. 1:59Floating-Point
  5. 8:21Pointers and Integers
  6. 8:43Are There Even Integers in Javascript
  7. 10:42Recap
~/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.