~/talk

Comparative Asynchronous Programming

Talkat App Builders Switzerland 2017 · 2017-04-24..04-25· [concurrency]
slides:none on file

Compares concrete async choices for Swift and makes specific tradeoffs clear: Grand Central Dispatch underpins higher abstractions, Artsy uses DRBOperationTree on NSOperationQueue to coordinate thousands of API calls and gigabytes of images, promises (example: BrightFutures) use flatMap to eliminate nested callbacks and centralize error handling, reactive streams via RxSwift map gesture events into UI updates (five lines make a circle follow a finger), actor systems like Akka power fault‑tolerant auctions, and async/await is infeasible today because Swift lacks coroutines/generators.

AI-written summary · about

  1. 0:00Intro
  2. 1:26Asynchronous Programming: Difficult and Subjective
  3. 1:55"Normal" programming
  4. 7:25Built-in Async Approaches
  5. 7:43Grand Central Dispatch
  6. 8:23NSOperationQueue / DRBOperation Tree
  7. 9:34Target / Action
  8. 10:14Callbacks/ Completion Handlers
  9. 10:57Callback Hell
  10. 15:33Callback Heaven
  11. 15:57Some Async Abstractions are Supported in Swift
  12. 17:38Functional Reactive Programming
  13. 21:13Actor Model
  14. 22:54Some Async Abstractions are Impossible in Swift
  15. 25:34Coroutines and Generator Functions
~/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.