~/talk

Node.js: The Road to Workers

Talkat NodeConf EU 2018 · on Wednesday, 2018-11-07· [nodejs]
slides:none on file

Node 10 ships an experimental worker_threads module (enable with --experimental-worker) that embeds separate V8 instances in threads, supports message ports, transferring ArrayBuffers and SharedArrayBuffer + Atomics, and can eval inline code or run filenames. A user reports 50% speedup (5ms → 2ms) in one case. DevTools debugging works; native handle passing and Windows polish remain unfinished, and APIs are still allowed to change while experimental.

AI-written summary · about

  1. 0:00Intro
  2. 0:29How did I get into Node.js core?
  3. 3:05Backing up a little bit...
  4. 4:06What's the problem
  5. 4:59Existing solutions
  6. 6:50The solution: Worker threads
  7. 12:28Porting to Node.js
  8. 15:32The result
  9. 21:30Example
  10. 24:02Status
  11. 26:40Other approaches
~/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.