~/talk

Taming the Kotlin Compiler

Talkat droidcon Toronto 2019 · on Wednesday, 2019-11-13· [kotlin, developer-experience]
links:none on file
links:none on file
slides:none on file

Measured command-line runs compile 1–5,000 dummy sources and show kotlinc much slower than javac, but using Gradle plus the Kotlin daemon and Gradle daemon bounds Kotlin’s penalty near javac. Real-world tests use Cash App’s Wire-generated protos and kapt stubs; Gradle --profile and Kotlin build report flags identify slow tasks. Incremental compilation exists but a non-incremental compilation bug (absolute paths break remote cache) plus lack of Java-style compilation avoidance for Kotlin cause unexpected full rebuilds; FS-watch confirmed generated stub folders are repeatedly rewritten.

AI-written summary · about

  1. 0:00Start
  2. 15:25Why are my builds slow?
  3. 19:01Build cache
  4. 22:33Noncremental compilation
  5. 25:25Compilation avoidance
  6. 29:24How do I debug my builds?
~/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.