~/talk

Paradigms for dealing with asynchrony

Talkat ReactiveConf 2016 · on Thursday, 2016-10-27· [reactive-programming, javascript]
slides:none on file

Compares concrete tradeoffs between callbacks vs promises vs observables vs CSP, shows code from a Khan Academy app where an exercise task flow is implemented two ways, and reports a small visualization library was prototyped but abandoned; notes Node is changing unhandled promise behavior and Chrome 55 adds native async/await, and demos js‑csp generator style code that blocks on yields. Emphasizes which primitives cache values, how many values they carry, who can cancel or write, and where mental overhead or debugging pain actually appears.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Why should you care
  3. 2:19The callback paradigm
  4. 3:11Error callbacks
  5. 3:50Promises
  6. 5:21Async await
  7. 6:16Observables
  8. 10:08Attributes
  9. 13:22Push vs Pull
  10. 17:50CSP vs Callbacks
  11. 19:20Callbacks Pros and Cons
  12. 22:00CSP Pros and Cons
  13. 24:34Questions
~/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.