Why Every JS Tool I Use Is Being Rewritten in Rust
Bundler, linter, formatter, CSS engine, even the Python tools next door. A map of where my stack went native over the last year, why it happened, and the one big exception.
I went through the package.json files of the projects I touched last year and counted the tools that are now written in something other than JavaScript. It was most of them.
That isn't a fashion. JavaScript tooling hit a wall that faster JavaScript couldn't get past, and the fix turned out to be leaving JavaScript for the hot path.
Where my stack went native
- Bundling. Next.js 16 made Turbopack the default for both
next devandnext build. Vite 8, in beta since December, replaces its esbuild plus Rollup pair with a single Rust bundler, Rolldown. - Linting and formatting. Biome replaced ESLint and Prettier for me last year. The Oxc project now ships Oxlint and an alpha of Oxfmt, a Prettier-compatible formatter.
- CSS. Tailwind v4's engine has a Rust core, and Lightning CSS handles the parsing and vendor prefixes.
- Next door. The few Python scripts I keep now run through uv and Ruff, both Rust, both from Astral.
Why Rust, and why now
Three reasons kept coming up when I read the announcements:
- Parallelism. A JavaScript tool runs on one thread unless it goes out of its way. A Rust bundler can parse and transform hundreds of files across every core with no fight.
- Memory. Parsing a big codebase allocates millions of small objects. A garbage collector is slow at exactly that. Rust tools allocate in arenas and throw the whole thing away at the end.
- Shared foundations. Oxc's parser is reused by Rolldown, Oxlint, and Oxfmt. One fast parser, many tools. JavaScript tooling used to reparse your code with a different parser at every step.
The speed difference is not 20%. Linting that took half a minute takes a second. That changes behavior: I run checks on save now, and agents run them after every edit without anyone noticing the wait.
The exception: TypeScript chose Go
The biggest native port isn't Rust at all. The TypeScript team is porting the compiler to Go, and the preview (@typescript/native-preview, with a tsgo binary) already type-checks our dashboard several times faster than tsc.
Their reasoning is worth reading. They weren't rewriting from scratch, they were porting line by line, and the existing code leans on a garbage collector and on data structures with cycles. Go keeps that shape. Rust would have forced a redesign. The lesson I took: the language matters less than doing a faithful port instead of a rewrite.
What it means for someone who just uses the tools
Mostly nothing, which is the point. The commands stay the same: next build, vite build, biome check. The config files get shorter.
Two things do change:
- Plugins. A JavaScript plugin for a Rust tool means crossing a boundary on every file, which eats the speedup. Rolldown and Turbopack support JavaScript plugins, but the fast path is the built-in transforms. Check that your plugins have a native equivalent before you migrate.
- Debugging. When a Rust tool misbehaves you can't drop a
console.logintonode_modules. Read the issue tracker first, and keep the escape hatch:next build --webpackstill works.
This year I'm moving the rest over one tool at a time, and writing up what breaks.
Keep reading
All posts2026
3 min
Oxlint and Oxfmt Next to Biome, and Which One I Kept
Oxfmt hit beta in February and Oxlint keeps growing. Both are Rust, both are fast. A side-by-side on a real project, and why I kept Biome on most repos but not all of them.
rusttooling3 min
Six Months of Turbopack as the Default Bundler
Next.js 16 switched both dev and build to Turbopack. What got faster, the webpack config I had to translate, and the one escape hatch worth knowing before you need it.
rustnextjstooling