Swift by Sundell cover image

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

Swift by Sundell

00:00

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.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app