WWDC24: What’s new in Swift | Apple
Join us for an update on Swift. We’ll briefly go through a history of Swift over the past decade, and show you how the community has grown through workgroups, expanded the package ecosystem, and increased platform support. We’ll introduce you to a new language mode that achieves data-race safety by default, and a language subset that lets you run Swift on highly constrained systems. We’ll also explore some language updates including noncopyable types, typed throws, and improved C++ interoperability.
Discuss this video on the Apple Developer Forums:
https://developer.apple.com/forums/topics/programming-languages-topic?cid=yt-w-0011
https://forums.swift.org
Explore related documentation, sample code, and more:
Swift 6 Migration Guide: https://www.swift.org/migration/documentation/migrationguide/
Swift Blog: https://www.swift.org/blog/
Swift Community Overview: https://www.swift.org/community/
Install Swift: https://www.swift.org/install/
The Swift Programming Language: https://docs.swift.org/swift-book/
Meet Swift OpenAPI Generator: https://developer.apple.com/videos/play/wwdc2023/10171
Meet Swift Testing: https://developer.apple.com/videos/play/wwdc2024/10179
Go further with Swift Testing: https://developer.apple.com/videos/play/wwdc2024/10195
Demystify explicitly built modules: https://developer.apple.com/videos/play/wwdc2024/10171
Consume noncopyable types in Swift: https://developer.apple.com/videos/play/wwdc2024/10170
Explore Swift performance: https://developer.apple.com/videos/play/wwdc2024/10217
Go small with Embedded Swift: https://developer.apple.com/videos/play/wwdc2024/10197
Mix Swift and C++: https://developer.apple.com/videos/play/wwdc2023/10172
Migrate your app to Swift 6: https://developer.apple.com/videos/play/wwdc2024/10169
00:00 – Introduction
00:12 – Swift over the years
03:44 – Agenda
03:58 – Swift project update
04:08 – Community
04:59 – Packages
05:50 – Blogs
06:33 – Swift everywhere
07:37 – Cross compilation to Linux
11:27 – Foundation
13:06 – Swift Testing
14:34 – Improvements to builds
16:15 – Swift’s new space
17:03 – Language updates
17:29 – Noncopyable types
19:55 – Embedded Swift
21:47 – C++ interoperability
23:34 – Typed throws
26:07 – Swift 6 language mode and data-race safety
28:43 – Low-level synchronization primitives
29:59 – Wrap up
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
by Apple Developer
linux foundation