~/talk

Node.js Feature Livecoding

Talkat NodeConf.EU 2019 · 2019-11-10..11-13· [nodejs, javascript]

A live rebuild of Node.js’s timer shows a runnable C++/JavaScript implementation that hooks into libuv and v8, wires C++ handle objects to JS callbacks with async tracking, and compiles into Node’s internal binding. Benchmarks show the naive version is about 10x slower than the optimized core implementation; the demo compiles and fires the timeout callback. Source, slides and code pointers are provided and the implementation trades fewer boundary crossings for much better performance.

AI-written summary · about

  1. 0:00Start
  2. 5:06Data stored for a timer
  3. 5:52Node.js internal helpers in fake JS
  4. 9:33What we want to write in C++ (in JS)
  5. 10:24Node.js layers
  6. 23:16A note on performance
~/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.