~/talk

Threads, Queues, and Things to Come: Present and Future of Concurrency in Swift

Talkat 360iDev 2017 · 2017-08-13..08-16· [swift]
links:none on file
slides:none on file

Shows concrete code using GCD and NSOperationQueue with a real Hacker News client: fetches 500 IDs, spawns parallel story downloads, uses maxConcurrentOperationCount = 4, makes icon fetches depend on story fetches, and serializes async callbacks inside operations with a dispatch group. Shares mutate-safe updates via a serial dispatch queue, suspends the queue when a user opens a story, and demos progressive loading in the simulator. Predicts future native concurrency (ownership, green threads, actors).

AI-written summary · about

  1. 0:00Intro
  2. 1:51CONCURRENCY?
  3. 2:26CORES!!!
  4. 4:10RESPONSIVENESS
  5. 6:08GRAND CENTRAL DISPATCH
  6. 7:04DISPATCH QUEUE PROPERTIES
  7. 8:37EXAMPLE: Serial, Background
  8. 11:02EXAMPLE: Concurrent, User Initiated
  9. 12:06OTHER GCD FEATURES
  10. 12:21DISPATCH GROUPS
  11. 13:31(NS) OperationQueue
  12. 14:03OPERATION QUEUE PROPERTIES
  13. 16:40SAMPLE
  14. 27:27SWIFT EVOLUTION
  15. 29:56POSSIBLE NATIVE MODELS
  16. 30:17GREEN THREADS
  17. 31:23PROMISES
  18. 32:58THE ACTOR MODEL
  19. 35:45ACTORS IN SWIFT?
  20. 36:57PREDICTIONS & OPINIONS
~/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.