JetBrains launches Kotlin 2.0.20 with performance boosts, stable K2 compiler, and more
JetBrains has announced the release of Kotlin 2.0.20, a cross-platform, statically typed programming language widely used for Android app development and other applications. This latest version introduces several performance improvements and bug fixes, while also marking the Kotlin K2 compiler as stable.
Key updates include the data class copy function now having the same visibility as the constructor, and the addition of static accessors for source sets from the default target hierarchy in multiplatform projects. The garbage collector for Kotlin/Native now supports concurrent marking, enhancing performance.
The @ExperimentalWasmDsl annotation in Kotlin/Wasm has been relocated, and the language now supports Gradle versions 8.6 to 8.8. Additionally, a new option enables the sharing of JVM artifacts between Gradle projects as class files. The Compose compiler has also received an update, and support for UUIDs has been incorporated into the common Kotlin standard library.