ESLint Rules Out Rust Rewrite; Oxlint Speedup Shrinks With JavaScript Plugins
Nicholas C. Zakas, ESLint's maintainer of 13 years, said on December 3 in a GitHub discussion that ESLint will not be rewritten in Rust. Oxlint claims to run 50 to 100 times faster than ESLint, but that figure applies only to rules implemented natively in Rust. On a Node.js benchmark with 98 JavaScript-based rules, Oxlint's speedup falls to 4.8x. Zakas argued that the ecosystem's plugins, parsers and custom rules are written in JavaScript, and that a rewrite would alienate contributors who are mostly JavaScript developers. He added that V8 is fast and that performance gains are better pursued through deoptimization fixes and a new AST traversal approach.
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