~/talk

Node.js Feature Livecoding

Talkat RuhrJS 2019 · 2019-10-05..10-06· [nodejs, javascript]
slides:none on file

Rebuilds setTimeout reimplemented in C++ for Node core, wiring V8 bindings to libuv by creating a TimerWrap subclass of libuv handles and requests, exposing start/stop methods, and using async_wrap hooks for lifecycle and diagnostics. Compiles Node (V8 build takes time), iterates through boilerplate and typos until timers fire correctly, and demonstrates via the inspector that a native C++ object retains the JS callback so leaks show up in heap snapshots — implementation works after fixes.

AI-written summary · about

  1. 0:00Start
  2. 2:04Node.js feature: setTimeouto
  3. 4:45Data stored for a timer
  4. 6:41Node.js internal helpers in fake JS
  5. 10:15Node.js layers
~/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.