~/talk

A Deep Dive Into Sendable for the Apple Developer

Talkat Swift Craft 2024 · 2024-05-21..05-24· [concurrency, swift]
slides:none on file

Sendable gives the compiler guarantees that prevent data races when passing values across async/task/actor boundaries; the talk shows how to adopt it in real code by marking value types, using actors or MainActor for reference types, or opting out with unchecked sendable and protecting state with a neol locked value box. Practical steps: enable strict concurrency checking in 510 or per-module, fix repeated warnings by making core types sendable, and prefer actors or locked boxes rather than unchecked opt-outs.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:37Why Sendable exists
  3. 10:21What Sendable is
  4. 13:52How Sendable works
  5. 20:13Making reference types Sendable
  6. 26:32Safe mutable values outside actors
  7. 30:00Starting your Sendable journey
  8. 33:14Vapor’s Sendable adoption challenges
  9. 34:17Maintaining API compatibility
  10. 38:29Swift 6 and future improvements
  11. 40:54Final thoughts and Q&A
~/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.