natario1
06/06/2024, 4:01 PMKnee
that binds Kotlin/Native to Kotlin/JVM, allowing them to interact transparently (uses JNI under the hood). It supports a wide array of features - classes/interfaces, lambdas, suspend functions with two-way cancellation, no-copy buffers. You can even import external types, e.g. create a StateFlow
on K/N and collect it on the JVM.
As of now it's androidNative only, but adding new targets is very easy. I just haven't found the right way of importing jni.h for cross-compiled targets in a way that would work for everyone. Happy to discuss!
Link: https://github.com/deepmedia/Kneelouiscad
06/06/2024, 9:47 PMeenriquelopez
06/06/2024, 9:48 PMnatario1
06/08/2024, 2:31 PMlouiscad
06/08/2024, 3:53 PMlouiscad
06/12/2024, 7:13 AMnatario1
06/12/2024, 9:36 AM