Kotlin compiler written in Rust: a drop-in replacement for kotlinc with byte-for-byte identical JVM bytecode
https://krustythecompiler.dev/ β// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 90/100 with only 6 stars
- Accepts sponsorship (github)
// how to help
// readme
krusty: a Kotlin compiler written in Rust
krusty is built to be a drop-in replacement for kotlinc on the JVM. For the Kotlin subset it
supports, it accepts kotlincβs command-line flags and aims to emit .class files byte-for-byte
identical to kotlincβs, from a single native binary. Three badges measure it against the applicable
cases of Kotlinβs own codegen/box test suite. The conformance badge shows how much of that suite
it passes today: the share of cases whose box() test returns OK. The JVM byte-equality badge
shows how close its output is to kotlincβs on the same cases: the matching leading bytes of each
paired .class file over the longer file length. The Native conformance badge independently shows
the share of Native-applicable cases that compile against the Kotlin/Native stdlib KLIB, link, run,
and return OK.
Website Β· Download Β· News: @qnox on X Β· Sponsor