0Pricing
Kotlin Academy · Lesson

Kotlin/Native Overview: Targets, Toolchain & Compilation

Understand available Kotlin/Native targets and compile a simple CLI binary.

What Is Kotlin/Native?

Kotlin/Native compiles Kotlin source code directly to native machine code via LLVM, without a JVM or Dalvik runtime. The result is a self-contained binary — no JVM installation required on the target machine.

Supported Targets

Kotlin/Native supports a wide range of targets:

  • macOS / iOS: macosX64, macosArm64, iosX64, iosArm64, iosSimulatorArm64
  • Linux: linuxX64, linuxArm64
  • Windows: mingwX64
  • Embedded / watchOS / tvOS: various targets

All lessons in this course

  1. Kotlin/Native Overview: Targets, Toolchain & Compilation
  2. Memory Management in Kotlin/Native: The New MM
  3. C Interop with cinterop and .def Files
  4. Kotlin/WASM: Compiling to WebAssembly for the Browser
← Back to Kotlin Academy