Skip to main content

Blog

Technical articles and posts about Android, Kotlin, and software development.

2022

An Introduction to Kotlin Symbol Processing

·1 min
This article will give an introduction to Kotlin annotation processing using Kotlin Symbol Processing (KSP). We’ll take a look at KSP, compare it to the alternative KAPT, and implement a simple example.

Generating Kotlin DSLs

·1 min
This article will give an introduction to Kotlin DSLs (Domain-Specific Languages) and teach you how to create and generate them with an annotation processor. We’ll also take a look at Kotlin internals and how we can use this knowledge to our advantage.