Kotlin 2.1.0 released: New language features, tooling updates & performance enhancements
Nov 27, 2024 at 7:01 PM

Kotlin 2.1.0 released: New language features, tooling updates & performance enhancements

Kotlin 2.1.0 has been released, introducing new language features, tooling updates, and performance enhancements. Notable language improvements include guard conditions in when expressions, support for non-local break and continue, and enhanced string formatting with multi-dollar string interpolation.

The K2 compiler has been updated for better flexibility in checks and improvements to the kapt tool. Kotlin Multiplatform now offers a stable Gradle DSL for compiler options and has received platform-wide enhancements. Kotlin/Native has improved its support for iosArm64 and other integrations, while Kotlin/Wasm now supports incremental compilation and additional updates.

The release also enhances compatibility with the latest versions of Gradle and the Android Gradle plugin. Kotlin 2.1.0 is included as a plugin in IntelliJ IDEA 2023.3 and Android Studio Iguana Canary 15, but it is no longer available on JetBrains Marketplace.

Nov 27, 2024 by Mauricio B. Holguin

cz
sophiewongwong
city_zen found this interesting
Kotlin iconKotlin
  35
  • ...

Kotlin is a cross-platform, statically typed programming language known for its type inference capabilities. Designed to interoperate seamlessly with Java, its JVM version relies on the Java Class Library. Key features include being an object-oriented language and supporting static typing. Rated 4.5, Kotlin is often compared with alternatives like Python, JavaScript, and Java.

No comments so far, maybe you want to be first?
Gu