Oxlint is a high-performance linter for JavaScript and TypeScript built on the Oxc compiler stack.
Oxc: The Oxidation Compiler is a collection of high-performance tools for JavaScript and TypeScript written in Rust.
> When someone asks, “why don’t you rewrite ESLint in Rust?” what they’re really asking is, “why can’t ESLint be faster?” […] People have equated Rust with fast executables, so instead of asking the real question, they jump directly to what they believe is the solution. Rust is fast, ESLint is not, therefore ESLint built on Rust is the answer.
I’ve never heard this framed in this way and this is, in fact, a very powerful argument. Rust code benefits from memory safety, from the compile-time guarantees that make it easier for AI agents to write and maintain it… but at the end of the day many people like Rust mostly because it facilitates building more performant software.
I wonder if the vast majority of that performance boost could be obtained if efforts were directed towards improving programs in their own language, like the ESLint team is doing, rather than going straight for a full-on rewrite in Rust. My nagging suspicion is that this is very much possible, as seen for instance in VS Code pushing the boundaries of Electron apps. But that does require some effort.
Sure, nobody has time, everyone is a volunteer, nevermind the $100k/year being donated to eslint.
The rest reads like a bunch of excuses. It's very clear that linting via rust is very much possible, you're only lacking intent. Which is perfectly fine, but at least be honest.
Idk considering we get like 1 once a decade CVE every week now, mostly due to using tech that doesn't have secure memory access, it kinda makes sense to switch shit to Rust.
Everyone will move on if they don’t move with the times.
I’ve never heard this framed in this way and this is, in fact, a very powerful argument. Rust code benefits from memory safety, from the compile-time guarantees that make it easier for AI agents to write and maintain it… but at the end of the day many people like Rust mostly because it facilitates building more performant software.
I wonder if the vast majority of that performance boost could be obtained if efforts were directed towards improving programs in their own language, like the ESLint team is doing, rather than going straight for a full-on rewrite in Rust. My nagging suspicion is that this is very much possible, as seen for instance in VS Code pushing the boundaries of Electron apps. But that does require some effort.
Not rewriting ESLint in Rust has already produced >1 Rust-based JavaScript linters and that number will likely continue to increase.
The rest reads like a bunch of excuses. It's very clear that linting via rust is very much possible, you're only lacking intent. Which is perfectly fine, but at least be honest.
If ESLint were written in C that'd be a compelling (ish) argument.
But ESLint is written in Javascript, and doesn't suffer from memory access issues at this layer.
Now if you'd said, "Let's re-write V8 in rust", then you'd have a reason to argue for memory safety.
Worst part about Rust is vibe coders using Rust, while hating the language.