Which frameworks have been updated to be concurrency-safe?

Asked on 07/17/2024

1 search

The frameworks and modules that have been updated to be concurrency-safe, as mentioned in the WWDC 2024 sessions, include:

  1. Swift Concurrency: Swift 6 introduces data race safety by default, turning data race issues into compile-time errors. This ensures that concurrent access to memory is diagnosed by the compiler, improving the security and stability of your app. (Platforms State of the Union)

  2. Synchronization Module: This module introduces low-level synchronization primitives such as atomics and mutexes. Atomics provide an efficient, lock-free implementation for safe concurrent access, while mutexes ensure mutually exclusive access to protected storage. (What’s new in Swift)

  3. Coffeekit Framework: As part of the migration to Swift 6, the Coffeekit framework is being updated to ensure concurrency safety. This involves enabling strict concurrency checking and addressing warnings and errors related to concurrency issues. (Migrate your app to Swift 6)

For more detailed guidance on migrating your app to Swift 6 and ensuring concurrency safety, you can refer to the session Migrate your app to Swift 6.