Skip to content
0:00 / 0:00

#swift-java#interoperability#wwdc

WWDC25: Explore Swift and Java interoperability | Apple

Apple Developer

333K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Linked in the descriptionswiftlang/swift-java
  • Made by the vendor. The company whose product it covers made or sponsored it.

Intermediate. Assumes working knowledge.

9.8K views1 year ago2 recommendations

Programming languagesSystems programmingSwiftJava and the JVM

Apple engineers introduce the swift-java interoperability project, showing how to mix Swift and Java in a single codebase.

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. Explore related documentation, sample code, and more: The Swift website: swift.org SwiftJava: github.com/swiftlang/swift-java The Swift Programming Language: docs.swift.org/swift-book/ Improve memory usage and performance with Swift: developer.apple.com/videos/play/wwdc2025/312 What’s new in Swift: developer.apple.com/videos/play/wwdc2025/245 Safely mix C, C++, and Swift: developer.apple.com/videos/play/wwdc2025/311 Mix Swift and C++: developer.apple.com/videos/play/wwdc2023/10172 - Introduction & Agenda - Runtime differences - Java Native methods - SwiftJava - Call Java from Swift - Call Swift from Java - Wrap up More Apple Developer resources: Video sessions: apple.co/VideoSessions Documentation: apple.co/DeveloperDocs Forums: apple.co/DeveloperForums App: apple.co/DeveloperApp

Why it's here

2 people recommend this

u/415zin r/Kotlin • Recommends

Apple makes a move against KMP WWDC has a new session on Swift/Java interoperability using the “very early prototype” swift-java library from Apple. It seems to have some of the same goals as Kotlin multiplatform when combined with native UI code (not Compose). Obviously it’s Java based but it seems probable it will get Kotlin support at some point, at least if it takes off. They also directly criticized cross platform UI frameworks like Compose in their platforms state of the union (around the 41:00). So it seems to me KMP has their attention, they see it as a threat, and they want to offer their own solution that firmly grounds developers in native UI experiences. Anybody smarter than…

u/_SomeonesAltin r/ProgrammingLanguages • Recommends

WWDC25: Swift and Java Interop Any opinions on how the Swift language team approached this new interop with Java?