~/talk

Dealing With KSP in Common Code for Android and iOS

Talkat Android Worldwide July 2021 · 2021-07-27..07-28· [kotlin, android]
slides:none on file

Kotlin Symbol Processing (KSP) replaces KAPT to generate annotation-based code using the Kotlin AST rather than Java stubs, producing results about 2–3x faster in the presenter’s tests. The project uses KSP on the JVM target, KotlinPoet for file templates, and custom scanners/resolvers to build a small multiplatform dependency injection library that generates container and resolver classes. It works automatically for Android and produces usable commonMain sources for iOS with manual build steps; KSP is still experimental.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13What is KSP
  3. 2:59KSP vs KAPT
  4. 9:02How KSP works
  5. 12:14Implementing KSP processors
  6. 17:50DI with KSP in Android
  7. 21:45KSP in multiplatform
  8. 28:53KSP limits with Kotlin Native
  9. 33:14KSP with Kotlin Native
  10. 35:47KSP with iOS
  11. 39:04KSP challenges and future
  12. 41:11Summary
  13. 42:38Q&A
~/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.