~/talk

Journey to the Center of the Room Generating Kotlin

links:none on file
slides:none on file

Room 2.6 alpha1 adds Kotlin code generation by switching to KSP for accurate Kotlin symbols, introducing XProcessing to unify Java and Kotlin annotation handling, and shipping XPoet to emit either language from one writer. The work covers three concrete goals, five engineering takeaways (type-safe XTypeName, percent-sign templates, a fallback API, and accepting pseudo-Java Kotlin), and enables support for Kotlin value classes while trading idiomatic Kotlin (no string templates, no named args, switches become if/else cascades).

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:12What is Room and Kotlin codegen
  3. 2:37Three key tasks for Kotlin support
  4. 3:43Switching to KSP for Kotlin sources
  5. 4:51Unified processing with XProcessing
  6. 6:15Generating code with XPoet
  7. 8:23Code examples with XPoet
  8. 14:39Five key takeaways from the journey
  9. 19:11Design compromises and future of Room
~/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.