Or does it only work with kotlin/native?
# multiplatform
s
Or does it only work with kotlin/native?
g
Only with Kotlin/Native, no support of JVM
there are some tools for this in Kotlin/Native compiler, but they used only internally by compiler (because it’s JVM app which also has C/C++ parts), but there is no API for this
s
That is such a shame. JNI is so incredibly complex in comparison to cinterop.
d
be thankful
g
True, we need pure Kotlin implementation of Djinni, I like thi approach
Our team would be also interested to work on it
k
yeah, djinni essentially is cinterop for java
g
Works for Kotlin also fine, but it would be a lot better with Kotlin sources generated
s
Ooh djinni looks interesting. Going to take a look.
k
the primary tradeoff is that it requires its own interface definition, but it also supports C++