~/talk

Dissecting Kotlin: Unsealing the Sealed, the SAM, and Other Syntax

Talkat KotlinConf 2023 · 2023-04-12..04-14· Granbeurszaal· [kotlin]
slides:none on file

Shows concrete changes and tradeoffs: sealed interfaces (Kotlin 1.5) enable exhaustive when checks across interface axes, data objects (Kotlin 1.9) give object declarations equals/hashCode/toString, and unsigned types with literal U suffix clarify bit-level representations for things like ARGB colors. Demonstrates value/inline classes that inline to primitives for performance, uses flicks flicks = 1/705600000 s for video timing, inspects generated bytecode and decompiled output, and explains SAM/functional interface conversions for Java interop.

AI-written summary · about

  1. 0:00Idiomatic Kotlin
  2. 3:53Sealed classes/interfaces
  3. 8:05Sealed class bytecode
  4. 9:28Sealed interfaces/multi-axis
  5. 13:05Data objects in Kotlin 1.9
  6. 14:48Unsigned integers
  7. 23:54Value classes/inline optimizations
  8. 29:54Value class identity
  9. 30:35Value classes use case
  10. 33:45Type aliases trade-offs
  11. 38:19SAM interfaces
  12. 41:25Idiomatic Kotlin principles
~/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.