This is fine, and the developer is free to do as they wish, but I really dislike it when the argument to a slow program is that “it’s fast enough”.
Yes, at some point there are diminishing returns, and yes, “reasonable” speed is usually good enough but that’s not the point.
A faster program is a better program. If you don’t want to make the program better in that way, fine, but we shouldn’t pretend that it’s not in fact better.
When you choose not to make your program faster, you are choosing to leave it worse. Sometimes that’s okay, but it’s always worse, and we should freely face that head on.
ESLint is so slow and an absolute dog on memory on large codebases.
Everyone will move on if they don’t move with the times.
It's fine for ESLint to stay JS, but oxlint is the way forward. With agents running in multiple worktrees, you need to squeeze everything you can from the tooling.
I think the idea that dogfooding is a core reason to stay in js is very reasonable given the nature of the tool.
For this tool speed is entirely the wrong point of focus.
1. While the tool may not be as fast as possible it is reasonably fast and certainly enough given that it’s a dev tool and not a part of consumer end services.
2. Security and size are much greater problems that require overwhelmingly less labor to accomplish. ESLint has too many dependencies at too great a nested depth. This really blows out the size of the application far beyond its initial footprint and completely opens it to the various exploits that come from malicious dependency injection.
3. ESLint cannot be rewritten into another language without solving for the prior concern first.
Man, after the guy who was maintaining heretic unalived himself I feel like that should be a warning call to everyone to just chill... I am still sad about it.
Very refreshing post from Nicholas, super grateful and thankful for his contributions and ESLint!
There are humans behind things, even with AI they don't run unsupervised or fully autonomous today. Even if they did, a human's wallet would be behind it.
There's no free lunch folks, be grateful for what you have and think hard for what you wish for. Not everything is urgent.
It’s a reasonable take.
However, lint tools sit in a middle ground where speed matters: the linter doesn’t catch compile errors; the compiler does that; the linter is not a unit or functional test.
The linter serves multiple purposes related to codebase maintenance: catching minor gotchas, enforcing best practices (at the code level), enforcing code style, and catching random project constraints (like disallowing certain imports).
And you run them all the time: automatically in an editor, when working with an agent, on CI/CD. In all these situations, a small speed gain has a lot of impact.
My hot take: perhaps we can give the agent a list of rules in plain text, and the agent builds the code to check them once, using some native framework, to produce a highly project-specific, optimized CLI. If you need to add a rule, you can make the agent regenerate the CLI.
So tools like eslint become the small pieces of a code validation framework.
There's oxlint for that.
This is a decent enough explanation, it's not dogmatic or anti-AI, just a calm explanation of where they stand.
eslint is longest phase of my CI on every project, that and it sums up into $$$ per year
All reasons in the post are valid, but still...
Rust alternative will be faster...
And rewriting from one language to the other using LLMs becomes easier and easier with every new model release...
Hence we got Biome.
Moved all my websites to use it.
Rewriting ESLint in Rust will produce up to 1 Rust-based JavaScript linters.
Not rewriting ESLint in Rust has already produced >1 Rust-based JavaScript linters and that number will likely continue to increase.
Therefore both parties’ needs are best served by not rewriting.
> 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.
This whole post sounds like a cope. A linter that is slow serves only one purpose: a money sink for users. No time, dogfooding etc all just BS. If the reason is "we don't care if this tool is useful for the ecosystem, we just want to figure out problems and solutions in Javascript "...that's a valid reason.
ESLint can stay in JS while rust based alternatives will gain more and more ground until people forget about eslint.
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 clear that linting via rust is very much possible, you're only lacking intent. Which is perfectly fine, but at least be honest.
A good way forward would be for oxlint to reach 100% and for it to be merged into eslint's repo. But of course that would hurt OP's feelings.
Biome?
Very reasonable take
This perfectly exemplifies many open source projects. Maintainers say they work on what's fun and interesting in their spare time, while users have limited expectations, knowing they consume something free.
Then there's some funded tooling that just completely wipes the floor and people switch. At the end of the day, I care most about tooling that works — I'd rather use free Windows than TempleOS.
So that people would want a JavaScript tool that works with JavaScript to get rewritten to Rust to make spitting more JavaScript faster.
That just doesn't make sense.
If you want to benefit Rust, switch to Rust for backend and switch to Rust for frontend (wasm).
[dead]
[dead]
[dead]
[dead]
In case some people here are unaware, this project seems relevant to the conversation: https://oxc.rs/docs/guide/usage/linter