How AST-grep Rewrote Tree-sitter in Rust and Made It 30% Faster
Summary
The article details ast-grep's migration of Tree-sitter's C core to Rust, driven by AI-assisted coding, achieving ~30% parser speedups (end-to-end ~22%). It covers architectural decisions, memory layout optimizations, and the trade-offs between parser performance and overall application performance, highlighting a collaborative AI-human development process across multiple blog posts.