Kotlin ExamplesLesson 26Free preview
Kotlin Compiler
This lesson is part of Kotlin · All levels
Summary
This lesson reviews the architecture and workings of Kotlinc/K2 compilers. Kotlin compilers analyze the source code, implement strict type checking, and translate it to desired targets such as JVM bytecode, JavaScript, or native machine instructions via LLVM.
Key points
- The latest generation Kotlin compiler is called the K2 compiler with faster compilation performance.
- Generates bytecode that runs on top of a Java Virtual Machine with Java equivalent performance
- Kotlin/Native backend support uses LLVM technology for standalone binaries without a JVM
- Kotlin/JS backend support for web browser applications and Node.js
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.