~/talk

Javascript Flow Control

Talkat NodeConf ONE-SHOT Oakland 2014 · on Wednesday, 2014-12-10· [javascript]
links:none on file
slides:none on file

Shows concrete behavior differences between process.nextTick setImmediate and setTimeout with code and a repo of examples the talk demonstrates a continuous compute server that blocks until replaced with setImmediate, reproduces a stack overflow with deep recursion and the V8 error message, and contrasts a synchronous constructor emitting events with an alternate constructor that defers initialization via process.nextTick so listeners catch events reliably it also runs microbenchmarks show setImmediate faster in some cases and explains when each tool actually works

AI-written summary · about

  1. 0:00Intro
  2. 1:00Why I gave this talk
  3. 1:23SetImmediate
  4. 2:14Other IO Events
  5. 2:28Stack Overflows
  6. 3:58Continuous Compute
  7. 6:42ProcessNextTick
  8. 9:25Why use this
~/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.