alexandre mommers
10/06/2025, 5:39 PMjw
10/06/2025, 5:50 PMjw
10/06/2025, 5:50 PMjw
10/06/2025, 6:03 PMdmitriy.novozhilov
10/07/2025, 1:12 AMsvyatoslav.scherbina
10/07/2025, 9:16 AMI would start with a prototype, not a KEEPAgree.
Regarding KT-39144, I’m considering investigating how to extend Kotlin/Native’s C interop support to the JVM by leveraging the new Java 22 Foreign Function & Memory API (FFM).You might want to know that the cinterop tool already supports JVM internally, to some extent. See this entry point: https://github.com/JetBrains/kotlin/blob/bcd9f89b30af3c4fff48ea65c02ae2e8ece0a2ce/[…]nerator/src/org/jetbrains/kotlin/native/interop/gen/jvm/main.kt It doesn't use FFM. Plain old JNI was enough.
alexandre mommers
10/07/2025, 10:52 AMsvyatoslav.scherbina
10/07/2025, 10:59 AMJNI usage might become increasingly cumbersome over time with feature flag to addLast time I checked, you also need to add flags for the restricted parts of FFM. Which you likely need for cinterop.
Filipp Zhinkin
10/08/2025, 2:02 PMOleg Yukhnevich
10/08/2025, 2:22 PM