top of page
Rethinking Dependency Injection: Producer-Consumer Linking at the Bytecode Level
26. Juni 2025 um 13:40:00
Stage 1
In this talk, we will show a brand new DI procedure: a zero-intermediation architecture that directly links dependency producers and consumers through bytecode modification during Android Gradle Plugin (AGP) transform stage. By rewriting property delegations at the bytecode level, our approach compiles dependency declarations into direct field assignments functionally equivalent to manual implementation, achieving runtime performance and near-identical package size.

Junyu Yue
Tech Lead, Mobile Infrastructure @ TikTok
Junyu is a Senior Android Engineer at TikTok with 3 years of experience, focusing on compiler technologies (including metaprogramming, compiler plugins, and related areas), as well as JVM optimization and bytecode manipulation. He also focuses on architectural initiatives such as designing dependency injection frameworks and component communication/decoupling strategies for scalable architectures. He is passionate about exploring emerging languages like Rust to expand his technical perspectives.
bottom of page