International
The Morning Dev

Only the news worth knowing

‹
 

Release2 sources

Value classes in Kotlin 2.5.0 and beyond

Kotlin Blog · By Alejandro Serrano Mena ·

Value classes in Kotlin 2.5.0 and beyond

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 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

  1. Kotlin 2.5.0 released

  2. Kotlin : A concise multiplatform language developed by JetBrains | The JetBrains Blog

    Value classes in Kotlin 2.5.0 and beyond

  3. Kotlin : A concise multiplatform language developed by JetBrains | The JetBrains Blog

    Kotlin 2.5.0 Released

Full coverage · 2 sources

  • 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

    2h ago ↗

How do you feel about this?

0 Comments

    Value classes in Kotlin 2.5.0 and beyond – The Morning Dev