Tagged articles
2 articles
Page 1 of 1
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Nov 5, 2024 · Backend Development

How CGLIB Powers Faster Java Dynamic Proxies – Inside FastClass and Bytecode Generation

This article explains CGLIB, a high‑performance bytecode library for creating Java dynamic proxies without interfaces, walks through implementation steps and core source‑code analysis, details the FastClass optimization that bypasses reflection, and compares CGLIB with JDK dynamic proxies.

Bytecode GenerationDynamic ProxyFastClass
0 likes · 22 min read
How CGLIB Powers Faster Java Dynamic Proxies – Inside FastClass and Bytecode Generation
vivo Internet Technology
vivo Internet Technology
May 31, 2022 · Databases

Exploring Presto SQL Engine (3) - Implementing WHERE Condition Filtering with Antlr and Dynamic Code Generation

The third article in the Presto SQL Engine series demonstrates how to implement WHERE‑clause filtering with Antlr, contrasting a direct AST‑traversal visitor approach—hampered by branch prediction and JVM inlining issues—with runtime bytecode generation using airlift.bytecode, which yields roughly three‑fold speed gains but adds complexity.

Airlift BytecodeBytecode GenerationDynamic Code Generation
0 likes · 24 min read
Exploring Presto SQL Engine (3) - Implementing WHERE Condition Filtering with Antlr and Dynamic Code Generation