~/talk

The effects of Kotlin inside Android apps and libraries

Talkat droidcon Americas 2020 · 2020-11-16..11-17· [kotlin, android]
links:none on file
slides:none on file

Examines compiled Kotlin inside Android apps: the Google I/O sample has ~300 Kotlin files, 100+ libs, 176 jars and 16 dex files that ProGuard shrinks by ~73% to one dex and reduces APK size ~55%. Kotlin stdlib + coroutines add ~15.5 MB; data classes, null checks and metadata create predictable bytecode and embedded protobuffer annotations. ProGuard/DexGuard add full Kotlin support, a metadata viewer exposes Kotlin structure, R8 4.10 can keep metadata, and removing null checks yields about 32 KB savings in this sample.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:41Kotlin runtime libraries in apps
  3. 4:08Kotlin constructs in bytecode
  4. 9:14Optimizing Kotlin with ProGuard
  5. 13:52Impact of optimization on Kotlin code
  6. 19:17Kotlin metadata format and tools
  7. 27:26Kotlin reflection and metadata
  8. 30:17Obfuscation of Kotlin bytecode
  9. 33:30Further reading and resources
  10. 36:39Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.