WWDC21: Swift concurrency: Behind the scenes | Apple

WWDC21: Swift concurrency: Behind the scenes | Apple

2.413 Lượt nghe
WWDC21: Swift concurrency: Behind the scenes | Apple
Dive into the details of Swift concurrency and discover how Swift provides greater safety from data races and thread explosion while simultaneously improving performance. We’ll explore how Swift tasks differ from Grand Central Dispatch, how the new cooperative threading model works, and how to ensure the best performance for your apps. To get the most out of this session, we recommend first watching “Meet async/await in Swift,” “Explore structured concurrency in Swift,” and “Protect mutable state with Swift actors.” Explore related documentation, sample code, and more: The Swift Programming Language: Concurrency: https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html What’s new in Swift: https://developer.apple.com/videos/play/wwdc2023/10164 Beyond the basics of structured concurrency: https://developer.apple.com/videos/play/wwdc2023/10170 Analyze hangs with Instruments: https://developer.apple.com/videos/play/wwdc2023/10248 Visualize and optimize Swift concurrency: https://developer.apple.com/videos/play/wwdc2022/110350 Eliminate data races using Swift Concurrency: https://developer.apple.com/videos/play/wwdc2022/110351 Meet async/await in Swift: https://developer.apple.com/videos/play/wwdc2021/10132 Protect mutable state with Swift actors: https://developer.apple.com/videos/play/wwdc2021/10133 Explore structured concurrency in Swift: https://developer.apple.com/videos/play/wwdc2021/10134 What‘s new in Swift: https://developer.apple.com/videos/play/wwdc2021/10192 Swift concurrency: Update a sample app: https://developer.apple.com/videos/play/wwdc2021/10194 Modernizing Grand Central Dispatch Usage: https://developer.apple.com/videos/play/wwdc2017/706 Concurrent Programming With GCD in Swift 3: https://developer.apple.com/videos/play/wwdc2016/720 Building Responsive and Efficient Apps with GCD: https://developer.apple.com/videos/play/wwdc2015/718 More Apple Developer resources: Video sessions: https://apple.co/VideoSessions Documentation: https://apple.co/DeveloperDocs Forums: https://apple.co/DeveloperForums App: https://apple.co/DeveloperApp