~/talk

JavaScript Concurrency and the DOM

Talkat JSConf US 2018 · on Tuesday, 2018-08-21· [web-performance, react]

Claims that full DOM APIs run inside a web worker via worker-dom and that moving event processing, state updates and diffing off the main thread measurably cuts main-thread time. Implementation uses Web Workers, a compact transferable hydration format with a string pool, a custom mutation observer, and async fallbacks (eg getBoundingClientRectAsync). Demos run Preact/React and a DOM benchmark near 60 fps; a low-end Nokia 2 shows painfully slow single-core JS (one pass took five minutes and 19 seconds) so offloading helps. Code is on GitHub/npm and is alpha.

AI-written summary · about

  1. 0:00Start
  2. 1:06Insert slide where 2 white dudes mansplain the difference between parallelism and concurrency.
  3. 2:31OMG, 60 frames per second
  4. 13:30Low Level Primitive
  5. 22:24How does this work?
~/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.