HeadlinesBriefing favicon HeadlinesBriefing.com

JavaScript Oxidation Compiler: Rust-Powered Toolchain

Hacker News •
×

The JavaScript Oxidation Compiler, or Oxc, is a new suite of high-performance JavaScript tools written in Rust. Announced as an alpha release, Oxc includes Oxlint for type-aware linting, Oxfmt for formatting, oxc-parser for parsing, oxc-transform for transpilation, oxc-resolver for module resolution, and oxc-minify for compression.

Oxc claims dramatic speed improvements over existing tools: Oxlint runs 50-100x faster than ESLint, Oxfmt is 35x faster than Prettier, and the parser outperforms both SWC and Biome. The linter features true type-aware linting powered by tsgo and supports 650+ ESLint-compatible rules. The formatter includes Tailwind class sorting support, while the parser passes all Test262 stage4 tests and handles both JavaScript and TypeScript.

Built as a foundation for modern JavaScript tooling, Oxc aims to provide a complete replacement for existing toolchains with superior performance. The project is free and open source, supported by sponsors including schoolhouse.world, Zephyr Cloud IO, and various individual backers. With its Rust foundation and comprehensive feature set, Oxc represents a significant advancement in JavaScript development tooling.