Willing Suspension of Disbelief
summary
Concrete explanation of Swift async/await clarifies where code actually suspends and what the runtime does: shows how async let lets unrelated lines run while awaiting a value, how wrapping work in a Task moves execution off the current thread, how actors serialize access to shared state to avoid races, and how async sequences (streams) deliver multiple values over time. Comparison with Grand Central Dispatch and the pairing of async throws with try/await makes error and suspension points explicit and predictable.
AI-written summary · about
chapters (7)
- 0:00Willing Suspension of Disbelief
- 1:13M.A.N.T.I.S
- 1:23Snow Leopard
- 1:51Grand Central Dispatch is a revolutionary, pervasive approach to multicore processing
- 18:25Let's begin with a class
- 25:45async and friends is not GCD
- 28:14Willing suspensions
related talks
31mYour Brain 🧠 on Swift Concurrency
10mThe Swift Actor Pitfall: Understanding and Managing Reentrancy
42mAsync Await and More in Swift
31mFuture of Swift: A Sneak Peek at async / await
35mThe Multi-Threaded Asynchronous Parallel World of Swift
44mSwift 6, Async/Await, SwiftUI went into a Bar...
47mDo We Really Need Swift Modern Concurrency?
24mAsync/await in Swift
