For desktop is it better to use platform specific APIs with expect/actual or JNI, in term of performance and limitations.
09/30/2023, 9:16 PM
I think you are confusing the purpose of Kotlin native. Kotlin native is for compiling Kotlin code for running on platforms without the JVM. Where JNI is for running native code in the Jvm.
You can't use native code(even Kotlin native) in the Jvm without JNI