Kotlin 2.0, released almost a year ago, marked a significant milestone in the language's evolution. At the heart of this major version lies the new compiler front-end, codenamed K2. The release delivered better performance and stabilization of the language features across multiple compilation targets. Despite being a major release, Kotlin 2.0 prioritized a smooth migration path, focusing on refinement rather than introducing drastic changes.
We will first take a look at the key features of the 2.0 release, highlighting the introduction of frontend intermediate representation (FIR) and the new control flow engine.
Then, we'll shift our focus to the horizon, and discuss the new features on Kotlin's roadmap:
* Guard conditions - enhancing control flow and null safety
* Context parameters - improving code organization
* Union types for errors - bringing more expressiveness to type systems
* Named-based destructuring - for better readability and reducing errors
* Contracts - enabling more precise static analysis
Whether you're a seasoned Kotlin developer or just starting out, this talk promises to expand your understanding of the language.
We will first take a look at the key features of the 2.0 release, highlighting the introduction of frontend intermediate representation (FIR) and the new control flow engine.
Then, we'll shift our focus to the horizon, and discuss the new features on Kotlin's roadmap:
* Guard conditions - enhancing control flow and null safety
* Context parameters - improving code organization
* Union types for errors - bringing more expressiveness to type systems
* Named-based destructuring - for better readability and reducing errors
* Contracts - enabling more precise static analysis
Whether you're a seasoned Kotlin developer or just starting out, this talk promises to expand your understanding of the language.
Anton Arhipov
JetBrains
Anton is a Developer Advocate in the Kotlin team at JetBrains. With a professional background in server-side development, Anton has been building tools for developers for more than ten years. Recognized as a Java Champion since 2014, he often speaks at software conferences and contributes to the Kotlin YouTube channel.