JetBrains has introduced the discharge of Kotlin 1.9. This launch introduces many enhancements, a giant one being the beta launch of the K2 compiler for the JVM.
The K2 compiler is a brand new frontend compiler that’s deliberate to be launched in Kotlin 2.0 as secure. It’s a full rewrite of the unique compiler and presents a quicker and extra extensible structure, addresses technical debt from the outdated compiler, fixes bugs, and lays the muse for future language extensions.
JetBrains plans to make K2 suitable with different compiler plugins in order that it will possibly ship multiplatform performance.
“Our goal is to realize full beta-quality assist for multiplatform tasks in K2 concurrently with the secure launch of Kotlin Multiplatform,” Sarah Haggarty, Kotlin technical author at JetBrains, wrote in a weblog publish.
As well as, various beforehand launched options have reached the secure designation on this launch. These embody the alternative of the enum class values operate and the ..< operator for open-ended ranges.
New options have additionally been launched, equivalent to a new extension operate for creating mother or father directories and a brand new operate for retrieving the contents of a regex group by identify.
Different additions in Kotlin 1.9 embody a preview of a customized reminiscence allocator, library linkage, a preview of the Gradle configuration cache in Kotlin Multiplatform, and adjustments for Android goal assist in Kotlin Multiplatform.
Extra data is offered within the weblog publish.
JetBrains has introduced the discharge of Kotlin 1.9. This launch introduces many enhancements, a giant one being the beta launch of the K2 compiler for the JVM.
The K2 compiler is a brand new frontend compiler that’s deliberate to be launched in Kotlin 2.0 as secure. It’s a full rewrite of the unique compiler and presents a quicker and extra extensible structure, addresses technical debt from the outdated compiler, fixes bugs, and lays the muse for future language extensions.
JetBrains plans to make K2 suitable with different compiler plugins in order that it will possibly ship multiplatform performance.
“Our goal is to realize full beta-quality assist for multiplatform tasks in K2 concurrently with the secure launch of Kotlin Multiplatform,” Sarah Haggarty, Kotlin technical author at JetBrains, wrote in a weblog publish.
As well as, various beforehand launched options have reached the secure designation on this launch. These embody the alternative of the enum class values operate and the ..< operator for open-ended ranges.
New options have additionally been launched, equivalent to a new extension operate for creating mother or father directories and a brand new operate for retrieving the contents of a regex group by identify.
Different additions in Kotlin 1.9 embody a preview of a customized reminiscence allocator, library linkage, a preview of the Gradle configuration cache in Kotlin Multiplatform, and adjustments for Android goal assist in Kotlin Multiplatform.
Extra data is offered within the weblog publish.