Swift 6: When the concurrency hits the fan
Here are notes from my talk Swift 6: When the concurrency hits the fan. Initially presented at Twin Cities iPhone Developers on August 14, 2023.
Notes from Demo
Swift 6 Features demoed
SE-0411 Isolated Default Values
SE-0414 Region Based Isolation
How to learn more
WWDC
-
Migrate your app to Swift 6 (WWDC 2024). WWDCNotes
This provides practical advise for converting an app mentioned in previous WWDC’s.
Talks
Richard Zarth presented Swift Concurrency: Are We There Yet
at One More Thing Conf 2024.
It is not online yet. But the notes are available.
Web
What’s the difference between actors, classes and structs (Paul Hudson)
The Meme that gave me imposter Syndrome
A good primer on the new type attributes like @Sendable and @MainActor
Xcode 16 Release Notes
Keep up to date on what is being fixed and shipped.
Async await in Swift: The Full Toolkit
A big list of the concepts you’ll want to know. By the folks at Emerge Tools.
Swift Forums have a lot of discussion on the topic.
Critiques
https://kean.blog/post/swift-6.
The author laments the amount of work required to get our codebases ready for this new world.
Matt Massicotte
Matt Massicotte earns his own section for writing so much on the topic.
- A list of new features coming in Swift 6 These provide a link to the actual Swift proposals, along with explanations and commentary. There are currently 12 posts in this series, they are all linked from each other.
- Non-Sendable types are cool too you know I tend to use “Thread Safe” as a short hand for understanding Sendable. But they are not quite the same thing. This post does a good job of explaining the difference.
Mastodon
Folks are discussing Structured Concurrency on Mastodon!
Rob Napier describes some of the good parts
Credits
Thanks to the MN Cocoaheads Slack for sharing links they’ve found useful.
… more to come!