what are the updates in swift interop?
Asked on 06/17/2025
1 search
At WWDC, Apple introduced several updates related to Swift interoperability:
-
Swift and C Interoperability: Swift continues to enhance its interoperability with C, allowing for seamless integration with existing C codebases. This includes the ability to import C virtual methods, default arguments, and move-only types directly into Swift. These updates aim to improve security and productivity by allowing incremental adoption of Swift in C projects. What’s new in Swift (22:22)
-
Swift and Java Interoperability: A new open-source project called Swift Java was announced, which aims to facilitate interoperability between Swift and Java. This allows Swift code to call Java code and vice versa, enabling incremental Swift adoption in Java codebases without the need for extensive rewrites. Explore Swift and Java interoperability (00:08)
-
Strict Memory Safety: Swift 6.2 introduces a feature called Strict Memory Safety, which requires explicit acknowledgment of unsafe API usage in source code. This feature is particularly important for security-critical components and is being adopted in parts of Apple's operating systems. What’s new in Swift (18:42)
These updates reflect Apple's ongoing efforts to make Swift a more versatile and secure language, capable of integrating with a wide range of existing technologies and codebases.

What’s new in Swift
Join us for an update on Swift. We’ll talk about workflow improvements that make you more productive, and new and modernized library APIs for fundamental programming tasks. We’ll show examples of Swift adoption throughout more layers of the software stack. Finally, we’ll explore new language features for both improving approachability of concurrency, and achieving peak performance when you need it.

What’s new in Swift
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.

Explore Swift and Java interoperability
Learn how you can mix Swift and Java in a single codebase. We’ll introduce the swift-java interoperability project, which allows you to use Swift in Java programs or vice versa. We’ll show you how to use the tools and libraries offered by swift-java to write safe and performant code that interoperates between these two runtimes.