Skip to content
Tagged articles

Compiler Plugin

5 articles · Page 1 of 1
Tech Musings
Tech Musings
Oct 29, 2026 · Backend Development

JDK 27 Upgrade Triggers Lombok Unsafe Warnings: Root Cause and Clean Workaround

After upgrading to JDK 27, Lombok 1.18.48 emits four Unsafe warnings during compilation because it uses sun.misc.Unsafe to bypass module access checks; the Lombok team won't fix it to preserve zero-config usability, but adding --sun-misc-unsafe-memory-access=allow to the forked compiler JVM silences the warnings.

Annotation ProcessingBuild ConfigurationCompiler Plugin
0 likes · 15 min read
JDK 27 Upgrade Triggers Lombok Unsafe Warnings: Root Cause and Clean Workaround
Bilibili Tech
Bilibili Tech
Oct 22, 2024 · Mobile Development

Understanding Swift Macros in Swift 5.9 and Their Applications

Swift 5.9’s new macro system lets developers generate type‑safe code at compile time via external plug‑ins, using role‑based declarations such as @attached and @freestanding to create properties, extensions, or warnings, thereby reducing repetitive boiler‑plate and improving safety in large‑scale architectures like MVVP modules and exposure frameworks.

Compiler PluginSWIFTcode generation
0 likes · 20 min read
Understanding Swift Macros in Swift 5.9 and Their Applications
Yuanfudao Tech
Yuanfudao Tech
Nov 18, 2022 · Mobile Development

Migrating from Kotlin Android Extensions to Kace: A Seamless Migration Guide

This article explains why the Kotlin Android Extensions plugin is deprecated, outlines migration strategies for legacy code, introduces the open‑source Kace framework as a seamless replacement, and provides detailed setup, code generation, performance optimizations, and incremental compilation techniques for Android projects.

AndroidCompiler PluginGradle
0 likes · 15 min read
Migrating from Kotlin Android Extensions to Kace: A Seamless Migration Guide
Sohu Tech Products
Sohu Tech Products
Dec 8, 2021 · Backend Development

Design and Implementation of a Kotlin Compiler Plugin (KCP) for Efficient Serialization and Faster Compilation

This article presents a Kotlin compiler plugin that replaces verbose annotation‑based serialization with delegate‑based syntax, dramatically improves code readability, reduces boilerplate, and achieves up to 20% faster compilation while providing detailed implementation steps, performance results, and practical guidelines.

Compiler PluginKCPKotlin
0 likes · 29 min read
Design and Implementation of a Kotlin Compiler Plugin (KCP) for Efficient Serialization and Faster Compilation
Sohu Tech Products
Sohu Tech Products
Nov 10, 2021 · Backend Development

Improving Kotlin Data Class Serialization with a Compiler Plugin: Design, Implementation, and Performance Evaluation

This article presents a Kotlin compiler plugin that replaces verbose annotation‑based serialization with concise delegated properties, explains its design and implementation details, demonstrates significant compilation‑time reductions of up to 20% and cleaner code, and provides a step‑by‑step guide for developers interested in building similar compiler extensions.

Compiler PluginKCPKotlin
0 likes · 21 min read
Improving Kotlin Data Class Serialization with a Compiler Plugin: Design, Implementation, and Performance Evaluation