Learn to coordinate concurrent work, protect mutable state, and give every task a clear lifetime. The topics move from suspension and structured tasks to isolation, streams, and diagnosing failures. Each article builds a working example, measures the behavior it describes, and ends with an exercise.

The examples use Swift 6 language mode and were compiled and run with the Swift 6.4 toolchain from Xcode 27.1 on macOS 26. Features from Swift 6.2 to 6.4, such as @concurrent, Task.immediate, cancellation shields, and the noncopyable Continuation, are labeled where they appear, together with the OS versions they require.

Read the examples in order within each article: later Swift blocks extend the earlier definitions and include executable assertions. Diagrams show task trees, interleavings, and state machines; equations appear where queueing, scheduling, or probability gives a precise answer, such as how many requests to keep in flight or how often responses arrive out of order. The earlier Swift Concurrency: async/await, Tasks, and Actors gives a one-article overview of the whole model.

Article available Coming soon

1. Foundations

2. Task Ownership

3. Isolation and Shared State

4. Streams and Legacy APIs

5. Testing and Diagnosis

Up next

Networking

This guide grows with the blog: new articles are linked here as soon as they're published. Missing something? Let me know.

← Back to all roadmaps