Rust-Based Oxc Parser Outpaces Babel by 20x, Reshaping JS Build Tooling

Oxc Parser, a Rust-based JavaScript and TypeScript parsing tool, generates abstract syntax trees (ASTs) 20 times faster than Babel and 3 times faster than SWC, according to production benchmarks. A 5,000-line TypeScript file that takes Babel 180ms to parse is processed by Oxc in just 9ms, reducing overall build times from around 12 seconds to roughly 600ms in real codebases. The speed gains stem from three architectural choices: arena-based memory allocation, single-pass lexing and parsing, and zero-copy string handling that avoids redundant memory use. Oxc already supports 100% of TypeScript syntax and ECMAScript Stage 3 proposals with no configuration required, and tools like Biome and Oxlint are built on top of it. Development teams are actively adopting Oxc for linting and code analysis workflows, with broader transformation support continuing to mature.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in