~/talk

Codegen with KSP: A Farewell to Stubs

Talkat Chicago Roboto 2022 · on Wednesday, 2022-07-27· [android]
links:none on file
slides:none on file

Claims that Kotlin Symbol Processor (KSP) removes slow Java stub generation so builds get noticeably faster, demonstrates building a toy KSP annotation processor (using kotlinpoet, AutoService and kotlin compiler testing) that emits a per-class sum extension and compiles in the IDE, and shows migration options for legacy kapt processors via X-Processing. Explains that stub generation can consume a large fraction of annotation time and how to make processors incremental using aggregating and isolating modes and farewell to stubs.

AI-written summary · about

  1. 0:00KSP at Chicago Roboto
  2. 1:21Meta programming with KSP
  3. 8:26Farewell to stubs with KSP
  4. 15:40Capped slow? KSP helps
  5. 16:23KSP annotation processor in IDE
  6. 40:20Aggregating vs isolating KSP outputs
  7. 44:57Summary
~/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.