The Magic of Kotlin Compiler Extensions
summary
An overview of Kotlin compiler plugin architecture and how plugins extend compiler capabilities, with concrete examples like kotlinx.serialization and Jetpack Compose. The talk examines compiler internals and practical plugin development within language rules, surveys community-made plugins and current development status, and compares compiler plugins to annotation processors highlighting pros and cons of each approach.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 3:53Annotation processing and plugins
- 8:10Compiler structure
- 19:03Compiler plugins
- 38:14Serialization via plugin
- 46:43Compose and its magic
- 51:58Replacing kapt with plugins
- 1:00:08Android Studio integration
related talks
45mCompiler plugins: modifying and analyzing Compose
36mWriting a Kotlin Compiler Plugin
43mWriting Your First Kotlin Compiler Plugin
19mDemystifying the Kotlin Compiler
43mCrash Course on the Kotlin Compiler
33mMeta-programming with KSP and Kotlin compiler plugins
37mBuilding a Kotlin Compiler Plugin for Compose Insights
46mK2 Compiler plugins
