Kotlin 2.2.20 has been released, with the latest version of the concise, multiplatform, “pragmatic” programming language bringing its WebAssembly-compilation component, Kotlin/Wasm, into beta.
JetBrains announced Kotlin 2.2.20 release on September 10. The release includes a beta version of the Kotlin/Wasm tool for compiling Kotlin code into WebAssembly (Wasm), with improvements to exception handling in JavaScript interop, NPM dependency management, browser debugging support, and a new shared source set for js
and wasmJs
targets, JetBrains said.
In explaining why a stable release of Kotlin includes a feature in a beta stage, JetBrains said that while core components such as the standard library are considered stable and production-ready, other components, such as Kotlin/Wasm, may still be in a pre-stable stage, such as beta. This is part of an approach to provide early access to features for feedback while clearly marking their stability level, the company noted.