Tag

KSP

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Jun 5, 2024 · Mobile Development

Android KAPT Build Optimization: From Analysis to KSP Migration and IDE Plugin Solutions

The article analyzes why KAPT consumes 82% of Android‑Kotlin build time and presents three optimization strategies—enabling KAPT incremental compilation, migrating to the faster KSP processor, and creating an Android Studio plugin that generates code at development time—detailing their implementation steps, performance gains, and trade‑offs.

AndroidAndroid Studio PluginAnnotation Processor
0 likes · 40 min read
Android KAPT Build Optimization: From Analysis to KSP Migration and IDE Plugin Solutions
Ctrip Technology
Ctrip Technology
Dec 29, 2022 · Databases

Design and Implementation of SQLlin: A Kotlin Multiplatform SQLite DSL Framework

This article details the motivation, research, architecture, driver selection, DSL design, Kotlin Symbol Processor code generation, and future roadmap of SQLlin, a lightweight, cross‑platform SQLite framework built with Kotlin Multiplatform for Android and iOS.

DSLDatabaseKSP
0 likes · 25 min read
Design and Implementation of SQLlin: A Kotlin Multiplatform SQLite DSL Framework
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 22, 2022 · Mobile Development

Understanding apt, kapt, and ksp: Annotation Processing and Kotlin Symbol Processing for Code Generation

This article explains the differences between Java's Annotation Processing Tool (apt), Kotlin's annotation processor (kapt), and the newer Kotlin Symbol Processing (ksp) framework, illustrating their architectures, usage patterns, and code‑generation capabilities with practical examples for Android development.

AndroidKSPKapt
0 likes · 10 min read
Understanding apt, kapt, and ksp: Annotation Processing and Kotlin Symbol Processing for Code Generation
Sohu Tech Products
Sohu Tech Products
Nov 10, 2021 · Mobile Development

Adding KSP Support to Android Room: Challenges, Design Decisions, and Implementation

This article details how the Android Room library added experimental Kotlin Symbol Processing (KSP) support to replace KAPT, describing the performance benefits, the architectural challenges of creating an X‑Processing abstraction layer, the testing infrastructure built around it, and the remaining limitations and future work.

AndroidKSPKotlin
0 likes · 15 min read
Adding KSP Support to Android Room: Challenges, Design Decisions, and Implementation