~/talk

What's New in Java 19: The end of Kotlin?

Talkat KotlinConf 2019 · 2019-12-04..12-06· [kotlin]
slides:none on file

Claim: Java rapidly adds real features that overlap Kotlin but with different tradeoffs. Examples and timelines are given: records (Java 14–16 preview to stable) mirror data classes but use invokedynamic for smaller bytecode, nested functions get hoisted to static helpers, and multi line strings plus optimized invokedynamic string concat optimization reduce allocations. Project Loom brings virtual threads (Loom timeline uncertain) that convert blocking APIs to suspendable behavior. Kotlin keeps advantages: nullability in the type system, multiplatform and IDE migration paths, and the copy/destructuring ergonomics.

AI-written summary · about

  1. 0:00Intro
  2. 0:27History of Java
  3. 3:59Type inference
  4. 10:37Multiline strings
  5. 22:39Sealing
  6. 25:56Smartcast
  7. 29:07Deconstruct
  8. 30:31Deconstruct bytecode
  9. 35:49Second constructor
  10. 36:53Pattern matching
  11. 37:44When
  12. 39:24Scope
  13. 40:13Sealed Hierarchies
  14. 44:34Kotlin vs Java
  15. 45:07Coroutines
  16. 46:40The end of Kotlin
  17. 47:21Kotlin is evolving
~/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.