~/talk

Kotlin Language Features in 2.0 and Beyond

Talkat droidcon Berlin 2024 · 2024-07-03..07-05· [kotlin]
links:none on file
slides:none on file

Kotlin 2.0 ships a rewritten front end (FIR) after ~5 years and ~80 subsystems changes, focused on performance and correctness; the compiler now dugars complex operator chains (fixing += on Long list with int literal), a new control‑flow engine yields many more smart casts including captured vars and merges across or expressions, and inline lambdas gain an implicit call‑in‑place contract. Compiler/IDE APIs are exposed for multiplatform plugins, future plans include guards (beta 2.1), context‑sensitive resolution, name‑based destructuring warnings, union‑style error handling and argument‑class patterns to preserve binary compatibility.

AI-written summary · about

  1. 0:00Introduction
  2. 3:57Kotlin 2.0 compiler rewrite
  3. 8:14Kotlin 2.0 compiler changes
  4. 11:08Operator and property handling
  5. 16:21Smart cast enhancements
  6. 21:45Pattern matching future
  7. 26:47Data class improvements
  8. 31:00Library evolution with arguments
  9. 35:23Type system future
  10. 37:12Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.