
99: “Structured concurrency”, with special guest Doug Gregor
Swift by Sundell
Is Async Away Taking on the Responsibility of Managing Asynchronous Tasks?
The way an asynchronous function is called is actually completely different from the way a synchronous function is called. Swift doesn't need to store any other kind of metadata around that call. It's all behind the scenes and it's sort of the translation layer here. You don't even notice this as a programmer, but it allows us to do this very quick suspend and have the OS thread do some completely different work and then resume later on when it's ready.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.