How ast-grep Rewrote Tree-sitter in Rust and Made It 30% Faster
- Part 1 of 4 — the complete adventureast-grep rewrote Tree-sitter's C core in Rust, with AI writing the code.
- The new core is faster at parsing, faster at reading the completed tree, and faster in ast-grep itself.
- (The title's “30%” is the parser-only number; end-to-end, ast-grep runs about 22% faster.)Source repository: HerringtonDarkholme/tree-sitter.
Unverified
- Part 1 of 4 — the complete adventureast-grep rewrote Tree-sitter's C core in Rust, with AI writing the code.
- The new core is faster at parsing, faster at reading the completed tree, and faster in ast-grep itself.
- (The title's “30%” is the parser-only number; end-to-end, ast-grep runs about 22% faster.)Source repository: HerringtonDarkholme/tree-sitter.
Sources: Astgrep