~/talk

Data-Race Safety for the Masses

Talkat IWACO 2024 · on Monday, 2024-10-21· [software-architecture]
slides:none on file

Swift 6 adds static data-race safety to its actor model by implementing a region-based type system adapted from the PLDI’22 Fearless Concurrency paper, integrated into the Swift 6 compiler (released Sept). It enforces a sendable protocol barrier for shared values, tracks regions to allow whole-object-graph transfers, and offers a sending keyword for disconnecting results. Module-boundary runtime checks and suppression hooks enable incremental rollout across millions of existing packages; the system compiles far more previously-rejected programs while preserving static guarantees.

AI-written summary · about

  1. 0:00Swift and data-race safety
  2. 1:03Concurrency safety in Swift
  3. 2:49Actor model limitations
  4. 4:55Expressivity with sendability
  5. 6:19Fearless Concurrency for Swift
  6. 8:23Region-based isolation in Swift
  7. 10:53Benefits of region-based concurrency
  8. 11:35Rollout plan for Swift ecosystem
  9. 13:20Q&A: Adding data-race safety
  10. 14:46Q&A: Prerequisites for other languages
  11. 15:30Q&A: Static vs runtime checks
  12. 16:55Q&A: Sendable and performance
  13. 17:39Q&A: Immutability and safety
  14. 19:04Q&A: Runtime checks and suppression
  15. 21:56Q&A: Avoiding annotations in inference
~/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.