What is Kotlin written in?

Year 2016 Paradigm object-oriented, functional Typing static Self-hosting yes
The Kotlin compiler is written in Java and Kotlin (documented). Its runtime is implemented in Java (well-documented). Kotlin is self-hosting.

Relationship Graph

All directly connected languages. Click any node to navigate to its page.

Compiler Implementation

LanguageConfidenceNotesSource
Java 90% Early Kotlin compiler written in Java before self-hosting Source
Kotlin 95% Kotlin compiler became self-hosting; K2 frontend in 2024 Source

Runtime Implementation

LanguageConfidenceNotesSource
Java 97% Kotlin runs on JVM Source

Influenced By

Frequently Asked Questions

What language is Kotlin written in?
Kotlin is primarily implemented in Java and Kotlin. See the implementation section above for details and source references.
What languages influenced Kotlin?
Kotlin was influenced by Java, Scala, Groovy among others. See the influence section above for the full list.
Is Kotlin self-hosting?
Yes, Kotlin is self-hosting — its compiler can compile itself.

Evidence Sources

Related Languages

Explore Kotlin in Graph →