~/talk

Kotlin Uncovered

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

Kotlin 1.3.61 behavior gets inspected end to end: use IntelliJ Show Kotlin Bytecode, JavaP and Procyon to decompile, and build with D8/R8 to see real output. Concrete surprises: kotlin assert evaluates the boolean (0.014s Java vs ~4s Kotlin unless deferred with a lambda), spread operator causes multiple array copies (three to four allocations), tailrec yields ~8.5× speedup, lazy delegates create KProperty objects but Kotlin 1.4 removes that for pure lazy, and R8 performs lambda merging, staticization and enum mapping removal.

AI-written summary · about

  1. 0:00Start
  2. 0:43kotlin-1.3.61
  3. 6:38Spread operator
  4. 9:40tail recursion
  5. 24:44Synchronized value instantiation
  6. 31:26R8: Lambdas merging
  7. 36:21R8: Enum mapping
  8. 37:56Loopy loops
  9. 39:53Questions?
~/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.