Top
image credit: Unsplash

Kotlin 1.9 Brings New Language Features and Improved Multiplatform/Native Support

July 18, 2023

Via: InfoQ

The latest release of Kotlin introduces a number of new language features, including the ..< operator for open ranges, extended regular expressions, and more. Additionally, it brings improvements to both Kotlin Multiplatform and Kotlin/Native.

Kotlin 1.9 stabilizes the synthetic entries property associated to enum classes, which returns a list of all values of defined enum constants. entries deprecates values() and provide better performance by using a pre-allocated list of values instead of allocating a new array each time.

Read More on InfoQ