~/talk

Kotlin Under the Hood

Talkat Devoxx Belgium 2019 · 2019-11-04..11-08· [android, kotlin]
slides:none on file

Shows concrete tools — bytecode and decompiled Java, Memory Profiler — and exact compiler behavior: enum when compiles to a generated switch mapping array allocated and init at class load; lazy delegates allocate a KProperty array and a Lazy object with synchronized getValue; unsigned and inline classes compile to primitives but can box for toString or equals; different for‑loop/range syntaxes produce different allocations; default parameters use integer bitmask flags; coroutines compile to a state‑machine class with a label field.

AI-written summary · about

  1. 0:00Intro
  2. 0:59Kotlin is Awesome
  3. 2:36Kotlin is Magical
  4. 3:48The Tools
  5. 4:41Example: Primitive Types
  6. 5:56Kotlin Bytecode
  7. 8:16Bytecode Decompiler
  8. 8:48Memory Profiler
  9. 10:46Interlude When 10001 - 10001
  10. 12:09Example: when
  11. 15:32Example: Lazy Properties
  12. 20:19Example: Unsigned
  13. 23:33Example: Ranges
  14. 26:09Example: Inline classes
  15. 29:43Example: Arrays
  16. 30:32Example: Extension Functions
  17. 32:57Example: Default Parameters
  18. 35:27Example: Coroutines
  19. 39:25Should You Care?
~/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.