Writing / Concurrency
Concurrency
6 essays tagged Concurrency.
2026
Reproducing race conditions with deterministic Swift testsHow to turn intermittent concurrency bugs into repeatable tests using controlled tasks, barriers, timeouts, and explicit scheduling points.12 min readConcurrency boundaries in networking and persistenceMost concurrency bugs in iOS apps are not race conditions in the textbook sense. They are boundary violations: the wrong actor touching the wrong layer at the wrong time.10 min readSendable pitfalls: what actually breaks, and how to redesign safelySwift 6 surfaces Sendable problems exactly where values cross isolation boundaries. Here is what usually breaks, how to classify each error, and how to redesign ownership without hiding the problem behind @unchecked Sendable.10 min readActors in practice: safe shared state without "actor everywhere" nonsenseA practical guide to Swift actors: where they help, where they hurt, and how to isolate shared state without turning your app into async soup.10 min readSwift 6 strict concurrency migration: the staged plan that won’t brick your appA practical migration plan for Swift 6 strict concurrency: baseline warnings, isolate boundaries, fix Sendable issues, and tighten checks without stalling delivery.10 min readSwift Concurrency in Practice: Async/Await and ActorsPractical Swift concurrency patterns for async/await, actors, MainActor, Sendable, cancellation, and building responsive iOS apps without data races.5 min read