3 ms·
Interop is dictated by the JVM itself - the whole point of JNI is that it translates data types into native types and properly manages access and lifecycle of o
by izacus 10y ago
Interop is dictated by the JVM itself - the whole point of JNI is that it translates data types into native types and properly manages access and lifecycle of objects that are otherwise owned by the JVM GC.
Kotlin doesn't change any of that - you still need to go through JNI bridge and properly mark and pin objects as they're being owned by the other language.
- dep_b 9y agoSo it's as good/bad as in Java basically? And sorry for the poor phrasing in my question, I see how it can get confusing but I'm coming from iOS and I'm used to things being a bit more simple.