The 1.9.20 model of JetBrains’ Kotlin language has been printed, transferring the high-performing K2 compiler to a beta stage.
Kotlin 1.9.20 was introduced October 31; code is accessible on GitHub, and replace directions additionally can be found. With this model, the K2 compiler is now in beta for all platforms, together with the JVM, native, JavaScript, and WebAssembly. It may be tried in any Kotlin venture. Additionally, the 1.9.20 launch brings K2 help within the kapt compiler plug-in. K2 is meant to considerably enhance compilation efficiency. It has been slated to be production-ready with Kotlin 2.0. The compiler is also positioned to hurry up language function growth, unify all platforms Kotlin helps, and provide a greater structure for multiplatform initiatives, JetBrains mentioned.
Kotlin 1.9.20 additionally stabilizes the Kotlin Mulitplatform cross-platform growth know-how and presents a brand new default hierarchy template for establishing multiplatform initiatives. Different options embody:
Copyright © 2023 IDG Communications, Inc.