~/talk

"Node.js: The Road to Workers"

Talkat Tokyo Node Festival 2018 · 2018-11-23..11-24· [nodejs]
slides:none on file

Node.js now exposes true threads via the worker_threads API so CPU-heavy tasks move off the event loop; create threads with new Worker() and use message passing for control plus SharedArrayBuffer or transferable typed arrays to share memory. Demo shows a ping‑pong message example and a parallel prime‑factorization that runs across workers, and notes cleanup hazards (dangling resources if workers exit early) and a package name debate (worker_ prefix). The examples run and demonstrate real speedup for CPU-bound work.

AI-written summary · about

  1. 0:00Introduction to Node.js Workers
  2. 3:35Why Node.js Workers matter
  3. 11:01Worker challenges and solutions
  4. 17:03Worker package naming debate
  5. 21:24Worker basics and usage
  6. 23:08Worker communication example
  7. 25:02Sharing memory in Workers
  8. 31:26Future of Node.js Workers
  9. 34:35Production considerations and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.