What is Kotlin Native?
Kotlin Native is an LLVM backend for the Kotlin compiler that is designed to run on areas without a VM. It uses an LLVM toolchain to generate the runtime implementation and native code.
It is primarily designed to allow compilation for platforms where virtual machines are not desirable or possible (such as iOS and embedded systems), or where we need to produce a self-contained program that does not require additional runtime.
It fully supports interoperability within the native code, that is, C language code. It works similarly to how Kotlin/JVM interoperates with Java language code. For platform libraries, the corresponding interoperating libraries are available out of the box, while for other libraries, there is a tool ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access