Farewell Kotlin, welcome new Java
summary
The talk argues Java is making a practical comeback by adding concrete language and runtime features: records and sealed types to implement algebraic data types with JVM optimizations, pattern matching to simplify visitor-like code, and a calculator demo that uses sealed records plus an Either-style result to handle divide-by-zero without exceptions. It also covers migration pitfalls from Kotlin 2.0 (annotation, coroutine/thread and IDE debugger issues) as reasons some projects prefer staying on Java, and highlights runtime improvements—virtual threads, stream gather, AOT and ~10–20% heap savings in Java 25—with a repository of examples provided.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 5:24System architecture
- 10:22Java vs Kotlin
- 17:24Modern Java patterns
- 22:02Data-oriented Java
- 35:48Error handling in Java
- 44:43Advanced Java streams
- 53:58Modularity and libraries
- 56:06Concurrency in Java
- 57:32Java's future
- 1:00:42Summary
related talks
32mMr. Kotlin VS. Mr. Java, an inspirational parody!
01h 03mHow Kotlin makes your Java code better
49mAn Introduction to Kotlin
01h 13mInterview and Q&A: The Evolution of Java and Kotlin — What Awaits Us?
50mKotlin = Java with Superpowers
53mRefactor your language knowledge portfolio - we are what we can code in
01h 11mModern Java: This is not your father's Java anymore
32mFrom zero to a hundred with Kotlin
