~/talk

Dissecting the stdlib

Talkat droidCon NYC 2018 · 2018-08-27..08-28· [kotlin]
slides:none on file

Examines stdlib source to show concrete idioms: collections extensions use higher‑order functions and lambdas, lambdas compile to classes so capturing outer variables creates extra objects, and inline functions remove those allocations while reified type parameters let generics be checked at runtime. Shows extension functions compile to static utils, contrasts apply/let/run/also by receiver and return type, and demonstrates lambdas-with-receiver enabling execute‑around and builder patterns. Uses decompiled bytecode examples and practical Android KTX patterns to prove each effect.

AI-written summary · about

  1. 0:00Introduction to Kotlin stdlib
  2. 1:32Collections API in Kotlin
  3. 4:47Higher-order functions
  4. 10:09Function types and references
  5. 16:03Standard extensions overview
  6. 20:34Extension methods explained
  7. 24:27Lambdas with receivers
  8. 29:40Closures and captures
  9. 33:31Inlining functions
  10. 38:25Reified generics and infix
  11. 40:12Conventions and delegates
~/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.