wwdc25,关于跨端的技术,包括Swift与其他语言的桥接
Asked on 06/14/2025
1 search
At WWDC 2025, Apple introduced several advancements in cross-platform technologies, particularly focusing on interoperability between Swift and other languages. One of the key sessions, Explore Swift and Java interoperability, highlighted efforts to bridge Swift with Java. This interoperability allows developers to incrementally introduce Swift into existing Java codebases without major rewrites, enabling the use of Swift for new features or replacing existing ones. The session also discussed the use of build tools like CMake for C and Gradle for Java projects to facilitate this integration.
Additionally, the Platforms State of the Union session mentioned Swift's expanded cross-language support, including packages for interfacing with Java and JavaScript, and the ability to run Swift in the browser with WebAssembly support. This broadens the scope of applications where Swift can be used, making it a versatile choice for developers working across different platforms and languages.
For more detailed insights, you can explore the session Explore Swift and Java interoperability and What’s new in Swift for updates on Swift's capabilities and interoperability features.

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.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

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.