Tag

Compiler Plugin

0 views collected around this technical thread.

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 PluginMacroSwift
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.

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