~/talk

Isolation, actors, sendable… a concurrency deep dive

Talkat iOS Conf SG 2025 · 2025-01-15..01-17· [concurrency]
slides:none on file

Swift 6’s concurrency turns runtime races into compile errors by enforcing three concrete rules: isolation (state belongs to one context), actors (convert a sync class to an actor to stop concurrent mutations but calls become implicitly async and require await), and sendable/sending (only Sendable values cross isolation boundaries; use the new sending keyword or make a type Sendable). Examples: turning a shared formatter class into an actor prevents crashes; tasks now accept sending closures so non‑Sendable captures must be moved or transferred; annotate with @MainActor to keep contexts aligned.

AI-written summary · about

  1. 0:00Swift 6 concurrency changes
  2. 1:45Data race protection pillars
  3. 4:14Protecting state before actors
  4. 7:05Actors prevent data races
  5. 10:38Actor isolation explained
  6. 13:25Global actors and boundaries
  7. 17:59Apple’s concurrency push
  8. 21:09Sendable types
  9. 25:03Sendable closures and keyword
  10. 28:55Compiler errors and fixes
  11. 30:39Swift 6 concurrency best practices
~/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.