~/talk

The Multi-Threaded Asynchronous Parallel World of Swift

Talkat UIKonf 2020 · 2020-05-17..05-20· [swift]
name:Leo Dion
links:none on file
slides:none on file

Covers concrete patterns and libraries for parallelism: Grand Central Dispatch queues, dispatch groups and semaphores/barriers for atomic access; converts a URLSession download into futures and shows flattening 100 post downloads into a single result using SwiftNIO event loop futures and PromiseKit’s when(fulfilled) flow; demos mapping vs flatMap for chained async author lookups, shows Combine’s dataTaskPublisher into SwiftUI bindings, and concludes that promises avoid callback hell while async/await and actors are the planned future.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:58Why parallelism matters now
  3. 3:23Concurrency vs parallelism explained
  4. 4:50Asynchronous programming basics
  5. 7:00Threading and race conditions
  6. 9:49Apple’s GCD and dispatch queues
  7. 13:18Promises and futures overview
  8. 15:22Demo with SwiftNIO futures
  9. 22:32Promise Kit demo and comparison
  10. 27:29Combine and reactive programming
  11. 31:07Future of Swift concurrency
  12. 33:31Best practices and closing
~/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.