On 2026-12-03 (US time), ESLint creator Nicholas C. Zakas posted "Why not rewrite ESLint in Rust?" to GitHub Discussions, and Hacker News split over it (200+ points, 200+ comments). This piece skips the "Rust vs JS" holy war and instead explains the performance engineering actually happening underneath it — cutting allocations and erasing the cost of crossing the native boundary — using ESLint's
SourceCode#walk()proposal and Oxlint's JS plugin implementation as the material.
StepsBuilder prototype followed on 12-01 as eslint/rewrite#558). In Zakas's local measurements it cut 9–10% of run time on large codebases — a textbook case of reducing GC pressure without changing languages.@eslint/jskit-native) that produces byte-identical output roughly 2.5× faster.The practical question at the end of 2026 isn't "all Rust" vs "all JS" but where to cut allocations and where to cross the boundary.
Simplified to the extreme, a linter does three things:
This is a very hot loop, running files × nodes × rules times. If it creates a few short-lived objects per node, V8's young-generation GC (scavenges) runs constantly and eats CPU time.
ESLint's current traverse() returns its walk as an "array of step objects." According to issue #21556, each step creates two objects — the step itself plus its args array — so with enter and exit, four objects per node exist purely for traversal. Generating steps lazily with an iterator (generator) was an option, but the iterator protocol itself is slow, so in practice an array is returned.
Rust linters (Oxlint, Biome) keep the AST in an arena and walk it without creating any GC-managed objects. But the moment you run an existing JS plugin, the Rust AST must be turned into JS objects, and that serialization/deserialization plus GC can eat most of the speed advantage.
So both camps face the same enemies: