September 20, 2021

Swift 5.5 async/await released

Apple shipped SwiftApple's language for iOS, macOS, and server apps — designed for safety and performance. 5.5 on September 20, 2021 with async/await, actors, and structured concurrency — bundled with XcodeApple's integrated development environment for iOS, macOS, watchOS, and visionOS applications. 13 and iOSApple's mobile operating system — runs iPhone and iPad with a sandboxed app ecosystem. 15.

What it was for

Swift (programming language)SwiftApple's language for iOS, macOS, and server apps — designed for safety and performance. concurrency replaced completion-handler pyramids with `async` functions and `await` calls, and actors protected mutable state across tasks. Every new iOSApple's mobile operating system — runs iPhone and iPad with a sandboxed app ecosystem. networking and UIUser interface — the parts of software people see and interact with. codebase adopted the model, paving the way for SwiftApple's language for iOS, macOS, and server apps — designed for safety and performance. 6's strict data-race checking.

Companies

  • Apple

Why it's here

Structured concurrency was SwiftApple's language for iOS, macOS, and server apps — designed for safety and performance.'s answer to callback hell on Apple platforms.

Why it mattered

Actors and async/await became the default pattern for iOSApple's mobile operating system — runs iPhone and iPad with a sandboxed app ecosystem. and server SwiftApple's language for iOS, macOS, and server apps — designed for safety and performance..

What it solved

Completion handlers and manual queue management produced bugs and unreadable async code.

Media

  • Swift (programming language)
    ImageSwift (programming language)

    Apple Inc, Apache License 2.0, via Wikimedia Commons

Related