~/talk

Compile-time Reflection in Kotlin

TalkinRussianat SnowOne 2022 · 2022-02-24..02-26· [kotlin, compilers-and-language-design]
links:none on file
slides:none on file

The talk presents a practical solution for finding all Kotlin classes or functions annotated with a given annotation or having a given supertype. It compares Java reflection, ClassGraph and annotation processors, then explains a Kotlin compiler plugin approach (the Reflekt plugin) that moves indexing to compile-time so lookups at runtime are O(1), and walks through compiler internals and implementation challenges of such a plugin.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07What is reflection
  3. 8:22Reflection in Kotlin
  4. 13:24Compile-time plugin concept
  5. 14:48Kotlin compilation process
  6. 17:58Plugin implementation
  7. 25:12Usage scenarios
  8. 32:24Interpreter and filtering
  9. 44:40Results and performance
  10. 50:24Incremental compilation
  11. 54:00Future plans
  12. 54:21Q&A
~/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.