Release2 sources
Value classes in Kotlin 2.5.0 and beyond
Kotlin Blog · By Alejandro Serrano Mena ·
The Brief · written from 2 sources
- Kotlin 2.5.0 is released, and Kotlin/Wasm is now Stable.
- The release stabilizes name-based destructuring in only-syntax mode and adds an unused return value checker.
- Full value classes are available in Alpha stage in Kotlin 2.5.0.
Why it matters
Kotlin/Wasm moving to Stable makes WebAssembly a more viable target for Kotlin projects, and the value classes preview previews a feature that relates to Project Valhalla on the JVM.
Who’s affected
- Kotlin developers
- Teams targeting WebAssembly with Kotlin
- Kotlin 2.5.0
- #kotlin
- #release
- #kotlin-wasm
- #value-classes
- #jetbrains
Kotlin 2.5.0 brings a long-awaited feature: full value classes ! They are available in the Alpha stage , and in this blog post we’ll explain what full value classes are, how they compare to data classes, and how they connect to Project Valhalla on the JVM. Full value classes…
Timeline
Full coverage · 2 sources
- 2h ago ↗
Kotlin : A concise multiplatform language developed by JetBrains | The JetBrains Blog
Kotlin 2.5.0 Released - 2h ago ↗
Kotlin : A concise multiplatform language developed by JetBrains | The JetBrains Blog
Value classes in Kotlin 2.5.0 and beyond