Kotlin 1.6.20 Released, Better Java Interoperability

Kotlin 1.6.20 has been officially released. It provides a preview of future language features, makes hierarchical structures the default for multiplatform projects, and brings performance improvements to the JVM, JS, and Native platforms.

The specific update contents of Kotlin 1.6.20 are as follows:

  • Kotlin/JVM's context receiver prototype provides new support for defining context-sensitive declarations
  • Better interoperability with generic Java classes and interfaces due to absolutely non-nullable types
  • Faster build times due to parallel compilation of individual modules on the JVM IR backend
  • Simplified development experience with incremental compilation mode in Kotlin/JS IR
  • Performance improvements for Kotlin/Native
  • Easier sharing of code due to the hierarchical structure of multi-platform projects

For more details, please check: https://blog.jetbrains.com/kotlin/2022/04/kotlin-1-6-20-released/

Guess you like

Origin www.oschina.net/news/190165/kotlin-1-6-20-released