JavaJava
Conference50min
INTERMEDIATE

Kotlin 2.0 and beyond

The talk will discuss Kotlin 2.0, highlighting the improved performance and stability due to the new K2 compiler front-end. Despite no significant language changes, the release offers a smooth user migration path. The presentation will also explore the future of Kotlin, including design proposals for several new features.

Anton Arhipov
Anton ArhipovJetBrains

talkDetail.whenAndWhere

Wednesday, October 9, 14:00-14:50
Room 7
talks.description
Kotlin 2.0, released in May 2024, 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 improvements in Kotlin 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 ideas 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 analysisWhether you're a seasoned Kotlin developer or just starting out, this talk promises to expand your understanding of the language.
Kotlin Multiplatform
Compiler K2
Design Proposals
Kotlin 2.0
talks.speakers
Anton Arhipov

Anton Arhipov

JetBrains

Estonia

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. He has been recognized as a Java Champion since 2014. He often presents as a speaker at large software conferences and contributes to the Kotlin YouTube channel.
comments.title

comments.speakerNotEnabledComments