Hacker GitHub

← All repos

swiftlang/swift-java

View on GitHub ↗ ★ 1,255 Swift

Java interopability support for Swift

8 mentions on Hacker News by 7 people: 2 stories, 6 comments · first 2024-09-26 · latest 2026-01-04

Mentions per year 8 mentions · busiest year 2024 (5)
20082026
  1. Another approach is swift-java, which uses Swift macros and also supports Panama. https://github.com/swiftlang/swift-java
  2. …any "weird" cdecls or really touch JNI details yourself when using the swift-java interop support https://github.com/swiftlang/swift-java
    comment by ktoso · 2025-10-25 · in The Swift SDK for Android
  3. …experience as on Linux basically. (This will probably change, but it is like so currently.) [1] https://github.com/swiftlang/swift-java [2] https://www.swift.org/install/macos/#:~:text=Swiftly
    comment by frizlab · 2025-04-27 · in Swift Container Plugin
  4. …is pretty cool, supporting both JNI and Panama. I’ve been porting it to Android this past week. https://github.com/swiftlang/swift-java
    comment by lukeh · 2024-11-10 · in JVM Anatomy Quarks
  5. …JNI glue code for method invocation is applied at compile-time when the macros are expanded. [0] https://github.com/swiftlang/swift-java/blob/e7d7a217e37d49b... [1] https://github.com/swiftlang/swift-java/blob/main/Sources/Ja... [2]…
  6. This sounds useful. Here are links that actually load on my phone. - https://github.com/swiftlang/swift-java - https://forums.swift.org/t/improving-swift-support-and-inter...