top of page

Kotlin Native Compiler Under the Hood

26. Juni 2025 um 15:30:00
Stage 1
Kotlin native allows you to target multiple platforms. In this talk, we’ll do a deep dive on the architecture of the compiler. The compiler consists of a pipeline that transforms Kotlin Intermediate Representation IR to LLVM IR. It also allows you to create a binary, library or framework. We’ll explore the phases executed in the pipeline that run the frontend, backend and linking process. I’ll do a walkthrough of the compiler with live coding. I’ll share how to get metrics on the performance of each phase in the pipeline of the compiler. I’ll share undocumented compiler configurations to get a view of LLVM transformation. Lastly, I’ll briefly share the inner workings of Kotlin and Swift export. By the end of this talk, you should have a good foundational understanding of Kotlin Native internals.

Mohit Sarveiya

Google Developers Expert Kotlin & Android

Mohit Sarveiya is a Google Developer Expert in Kotlin and Android, well-known in the tech community for his contributions to Kotlin development and Android applications. Before his focus on Android development, he worked as a backend engineer. Mohit has been an early adopter of Kotlin and is passionate about the language, often sharing his expertise through talks and workshops. He has given presentations at major conferences, such as KotlinConf and Droidcon, covering advanced topics like improving Jetpack Compose performance and the internals of the Compose compiler. Mohit also engages in open-source projects and writes about his work on his blog, where he explores various Android development tools and techniques.
bottom of page