~/talk

Kotlin Adoption at Scale

Talkat Mobius 2021 Piter · 2021-04-13..04-16· [kotlin, android]
links:none on file
links:none on file
slides:none on file

Facebook migrates Kotlin into a massive mono-repo with hundreds of thousands of modules and tens of millions of lines, so usual Gradle/Android Studio workflows break: Kotlin compiles 2–2.5× slower than Java in some cases, IDE indexing exhausts memory, and lambda/data-class sugar inflates DEX. Engineering adds Buck support, generates ABI jars during the fast parse phase via a compiler plugin, applies lambda grouping and data-class annotation plugins, and uses Redex/R8/ProGuard; results include 35% fewer modules rebuilt, ~10% faster builds from parallel ABI generation and large reductions in dependency graph depth.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:19Kotlin adoption at Facebook
  3. 2:24Typical vs large-scale Kotlin projects
  4. 5:13Writing Kotlin code at scale
  5. 8:24Android Studio performance issues
  6. 10:53Biggest Kotlin integration problems
  7. 14:09Kotlin tooling and static analysis
  8. 17:03Kotlin code formatting challenges
  9. 19:53Kotlin library preparation
  10. 22:03Build systems for Kotlin
  11. 25:14Kotlin compilation speed issues
  12. 28:10Java bytecode optimization with JARs
  13. 31:43Parallel compilation improvements
  14. 34:33Build graph optimization results
  15. 36:40Kotlin build optimizations
  16. 43:49Android pipeline and app size
  17. 46:40Code shrinking and optimizers
  18. 49:08Kotlin-specific optimizations
  19. 51:34Why Kotlin needs special optimizations
  20. 55:30Lambda grouping for size reduction
  21. 58:44Data class optimizations
  22. 1:00:33Operator overloading and size impact
  23. 1:02:02Benchmarking Kotlin features
  24. 1:03:27Final thoughts and takeaways
  25. 1:05:59Q&A session
~/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.