~/talk

Node.js: The Road to Workers

Talkat Nordic.js 2018 · on Sunday, 2018-10-07· [nodejs, rust]
slides:none on file

Node.js ships experimental multithreading via the worker_threads module that runs separate Node instances with separate event loops, supports SharedArrayBuffer and Atomics for shared memory and synchronization, and shows real gains — a reported 50% speedup on a 6‑core machine (5 ms → 2 ms) for a CPU task. Caveats: Windows startup/cleanup bugs, npm name conflicts, addon thread‑safety, expensive worker bootstraps, and terminate uses an uncatchable exception so API and behavior may change.

AI-written summary · about

  1. 0:00Start
  2. 5:31Backing up a little bit... How is Node.js structured?
  3. 7:24What's the problem
  4. 7:58Existing solutions
  5. 16:57Porting to Node.js
  6. 26:09Example
  7. 31:36Finally: Heads up!
~/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.