Meta-programming with KSP and Kotlin compiler plugins
May 04, 2023
45 min
Free
kotlin
kotlin-compiler-plugins
meta-programming
compiler-optimization
ksp
annotation-processing
jvm
kmm
android
code-generation
Description
Recording brought to you by American Express. Meta-programming allows developers to augment code in various ways, and with Kotlin compiler plugins, anyone can enhance the Kotlin compilation process. This talk explores how to use KSP (Kotlin Symbol Processing), how to write Kotlin compiler plugins, and when to choose between them. It provides an overview of meta-programming in the JVM, a look at KSP's strengths and weaknesses, and an introduction to Kotlin compiler plugins, concluding with guidance on selecting the right tool for the job.