~/talk

5 architectures of asynchronous JavaScript

Talkat 4Developers 2017 · on Monday, 2017-04-03· [javascript, frontend-architecture]
slides:none on file

Covers the actual mechanics behind asynchronous JavaScript and compares 5 approaches: callbacks, events, promises, coroutines, reactive streams with concrete code patterns and gotchas. Explains event loop and run to completion rule, shows Promise.all, Promise.race and Promise.any behavior, demonstrates chaining vs parallel execution, implements generators + promises as coroutines (async/await equivalent), sketches CSP channels for coroutine communication and contrasts RxJS streams. Good if you want hands‑on examples of when each technique fails or scales.

AI-written summary · about

  1. 0:00Introduction to async JavaScript
  2. 4:52Event loop and message queues
  3. 14:05Synchronous vs asynchronous callbacks
  4. 24:56Callback and event-driven architectures
  5. 30:19Promise architecture and chains
  6. 41:55Promise aggregates and real-life examples
  7. 44:28Generators and co-routines
  8. 51:42Async/await in ES8
  9. 53:25CSP and communicating processes
  10. 56:35Reactive streams with RxJS
  11. 1:01:50Summary and Q&A
~/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.