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.