~/talk

5 architectures of asynchronous JavaScript

slides:none on file

Covers five concrete async architectures and when to use each: callbacks, events, promises, coroutines, reactive streams. Explains the event loop and run-to-completion rule, then shows promise limits (greedy, single-value, not cancelable), how generators+promises form coroutines, and why async/await is the language bridge that restores linear code and local variable access. Demonstrates concurrency patterns with Promise.all vs Promise.race, and recommends RxJS-style reactive streams for ongoing, interdependent event flows like realtime UIs.

AI-written summary · about

  1. 0:00Start
  2. 4:48sync vs async
  3. 15:59callbacks
  4. 25:49Callback hell
  5. 35:03Sequential Processing
  6. 36:13Concurrent Processing
  7. 37:48Promise Aggregates
  8. 41:46Generators vs run to completion
  9. 51:55Pipeline scope using data from previous steps
~/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.