Swift by Sundell cover image

99: “Structured concurrency”, with special guest Doug Gregor

Swift by Sundell

CHAPTER

Swift Concurrency

Swift Concurrency lets you do concurrent or asynchronous programming in Swift. It uses a technique called automatic compiler translation to convert existing Objective C methods into an await syntax. This means that all of these APIs are immediately accessible from Swift async or disk code. URL session is actually an interesting case because there are some automatically translated API, but they're not as good as we wanted them to be. We also did some specific work to adapt the existingAPI with custom Swift code and make a much nicer experience for URL session.

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.
App store bannerPlay store banner