~/talk

Swift Concurrency is new and hard, and you can do it

Talkat SwiftLeeds 2024 · 2024-10-08..10-09· [swift, concurrency]
links:none on file
slides:none on file

Explains that Swift concurrency encodes actors as isolation in the type system, causing real compiler errors when a MultiPeerConnectivity delegate invokes callbacks on background threads and touches main‑thread state; describes interop hazards between Swift 5 and Swift 6 (missing annotations, warnings off), the role of @Sendable closures and dynamic isolation runtime checks, and migration surprises (many Swift 5 workarounds are obsolete in Swift 6). Recommends conditional annotations, reducing unnecessary cross‑thread value passing instead of forcing sendability, and filing compiler bugs.

AI-written summary · about

  1. 0:00Swift's evolution
  2. 1:53Concurrency challenges
  3. 4:29The isolation model
  4. 6:10Non-isolated code
  5. 8:16Static safety limits
  6. 10:45Interop strategies
  7. 12:53Risks of disabled safety
  8. 14:25Migration timeline
  9. 16:01Compiler feedback
  10. 18:11Adoption tips
~/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.