Speaking as a member of the Rust project: please don't pester the maintainers of projects you use about rewriting their projects in Rust. If you're a friend or colleague of theirs, or you're paying them for an appropriate level of support, by all means have a conversation. Otherwise, if you're a user of their project, please don't.
It's awesome when projects move to Rust. It's not awesome when people get harangued with "RIIR!".
The situation hasn't improved now that die-hard vibe coders have joined the ranks.
As a serious Rust user…sorry for folks who have to deal with this.
For the most part, yeah. These demands mostly come from some combination of people doing RESF[1] memes without thinking about how they come across, and trolls who know exactly how they come across and are achieving their desired reaction of backlash against Rust.
[1] "Rust Evangelism Strike Force", a meme that has mostly turned unpleasant.
But now it's how everyone just shouts "rewrite it in rust!" as if that'll solve all the world's problems.
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.Slow linting is not just a nuisance but also a real cost. FWIW the new ts compiler was around 600h runtime saved per month. And we're only a small team.
- macbook pro: 50s => ~30ms
- ci server: 3m => ~6s
(edit: 30ms, not 3)
Sounds like you may have discovered a surprising path to greater compute/power efficiency.
Removed it from every other project I have any control over right after that.
biome supports all important rules and is probably 100× faster at least. Has its own dependencies of course, but statically linked native code is easier to swallow somehow.
Even if you find a gap where a plugin isn't supported, vibe coding an eslint/oxlint plugin for anything you need takes a few minutes at this point.
The main gap right now is there are no type-aware plugins, but as a stopgap you can vibe code a tiny custom linter on top of the new TypeScript and reap most of the speed benefits now, then port to oxlint once type-aware is ready.
You are also correct that it has built in rules that are type aware.
I wish Oxlint had a native plugin API!
Our whole lint step with both oxlint and our custom type linter still costs 1/60 what it used to under eslint.
So, yeah, it's not as fast as it could be in theory, but it's still way better than eslint.
No need to rewrite eslint then, even if there ever was a "need"
In a browser, scaling doesn’t matter - all that matters is the speed perceptible to a single user. But when you scale across multiple users or run it on every PR in CI, that’s when JS’s inefficiency becomes more apparent.
In the age of AI, writing something inefficiently because that’s the language you know best does seem like an anachronism.
There is obviously a solution to all of these, but it requires complexity, tooling, and better developers, so why bother?
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.
Please don't argue against arguments you made up in your head. It's not productive.
Where are they saying that? Their only answer to the performance question is "maybe it can be fast enough", not "it's fast enough".
“We want to leave our program worse, because we’re okay with that for now.”
To be perfectly clear, the above position is often a completely valid choice made by developers, and I’m not saying you should never make this call. (Though, the leagues of ESLint users complaining about speed might make one reconsider.)
My issue is that many developers skirt around this. I think one should freely admit that the program is worse, and that that’s all it’s going to be for now, rather than make excuses.
Even if the excuses are valid (which in this post they appear to be, for the author cites personal health problems), we ought to be more open about this sort of thing.
Yes, I am making a normative claim on what the author should say, but I'm not disputing anything they have said. Also, the author never claimed this.
> they can get most of the available gains without switching languages,
This is because this is wrong, and the author probably knows that. The post describes some improvement in performance, but nowhere is it claimed that "most" of the available gains are achieved. This is because "available" includes oxlint, and on a bad day oxlint is 50x faster than ESLint.A rewrite is not necessary to improve performance, but I do not believe that a pure JS implementation is going to get within 5x slower than rust (which would still be a 90% improvement!)
> As an ESLint user, you shouldn’t care what language ESLint is written in so long as it gets the job done in a reasonable amount of time.
But the issue is being raised because people feel that it’s not getting the job done in a reasonable amount of time. This isn’t an unfounded position: Oxlint demonstrates that (most of) of the job can be done orders of magnitude faster.
There’s also this:
> Here’s the thing: JavaScript isn’t actually slow. V8 is ridiculously fast and compiles JavaScript into machine code.
Which is kind of beside the point. The point is how fast the tool executes. That section mentions one unreleased performance increase of 9-10%, but some comments here claim speeds up to 1600x faster for Oxlint. (Oxlint itself claims 50 - 100x.) That changes the baseline for “reasonable”.
I’m not saying ESLint should be rewritten. The author’s points about the dev team are valid. What that means in practice is that another project is likely to eventually replace ESLint, and that process has started already.
I’m also not saying that the author shouldn’t express his perspective. But what he’s expressed in this respect seems a bit like denial.
Not always
There are tradeoffs
One reason is in the short term code doesn't rot as badly as documentation. A written description of algorithm foo may not be updated when somebody tweaks the tricky ARM SIMD inside foo_fast. But if a unit test verifies that foo_fast and foo_slow calculate the same values, when foo_fast is modified without the equivalent change to foo_slow there's a good chance that's caught because it fails the tests.
In the long term fast_foo might stop being fast, especially in relative terms. Quake III Arena's Fast inverse square root routine is clever in 1999 and for a few years after that it was still genuinely the fast (though incomprehensible) way to calculate the inverse square root. But today that's no longer true. You can still write that Quake III routine - you can even write it in more readable and entirely safe Rust no problem, and it won't be slower than machine code from 1999 ripped out of your Quake III binary - but you shouldn't because today it can't compete with just asking your CPU to actually calculate the inverse square root, which is no trouble on modern hardware.
Reading the discussion of Oxlint in this thread, and assuming the claims about the speed improvement are accurate (up to 1600x faster!), the open source market will take care of this: people will switch tools.
Not necessarily.
> 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.
No, see above.
> When you choose not to make your program faster, you are choosing to leave it worse.
Not really.
> Sometimes that’s okay, but it’s always worse
Nope. You're circularly making the same point several times and the whole thing collapses when one refuses to concede the first false premise.
In the real world sometimes it is not wise to make the tradeoffs required for more speed, but the tradeoffs the post describes are not about the engineering bottlenecks, but rather developer effort. In those cases, faster is a choice between better or not.
Hence why I am brash enough to use the proud "always". For the same program, as in, the same outputs, faster is always better.
In this specific case, there are other tradeoffs, which the person you are replying to did not talk about.
The "all else equal" part of what I said is, pardon my slop, load-bearing.
This is the assumption that makes the original comment valid, that's what caaqil is trying to point out. If you're making a program faster by introducing hacks, then it's not necessarily better anymore
I keep seeing this sort of pattern with a lot of Rust rewrites, which are started in good faith, but just the tag of Rust and 10x faster shouldn't be the only metric on which we judge it. Correctness and adherence to the specification is also highly important.
If P=NP, I can sell you a timeshare in the newly furnished Mars colony and have you dancing with Princess Diana in the evening.
Sometimes it's the right choice to not make those trade-offs for speed alone, and I make that clear in my original reply, but in the case of ESLint, it is completely feasible to make the program faster with zero trade-offs; the developers just don't want to put in the effort for that, as the post describes. That's okay too, but I'm arguing we ought to be open about that, rather than skirting around it.
Everyone will move on if they don’t move with the times.
Like with many things AI, the end result will likely be better, but I find it very sad anyways.
For better or worse, the library is dead. Except for some edge case features, we as engineers should not invest more into a foundationally worse option. The ESLint invested tremendous time helping others and this takes nothing away from them, but it's Joever.
Ultimately all this rewrite JS/TS into Rust and Go, maybe node.js isn't that great of backend technology to start with then.
We did a left turn abandoning Java, .NET, C++ for JS, and now getting back to the cool kids, Rust and Go.
It came out how many years ago, and only lints like what, a quarter of what ES Lint can?
Not saying you are wrong but ... be wary of "this replacement is the future, everyone jump on board today" thinking.
I can no longer justify the ESLint maintenance burden at work. When lint dependencies become a problem, we remove the dependency. Onward.
ESLint's performance hit is even worse (we got >60x improvements when switching to oxlint) and from what I can see the benefits of dogfooding aren't as many as they were for a whole language with a Turing-complete type system.
Typescript has gotten to the point that it really doesn't need any new features to cover a vast majority of practical use-cases (mostly due to JS itself slowing down a lot and TS-first development becoming very common) so shifting gears toward performance and end-user usability makes a ton of sense for that project.
ESLint might also be near this level of "doneness" but I'm not familiar enough with the project to say for sure.
I guess I'm suggesting that if eslint is sticking with JS in order to dogfood they may find that their market share dwindles as people more and more find that their lint step is a bottleneck in making fast changes with agents, and dogfooding as a nice theory doesn't keep people from switching.
That's fine as long as that's an intentional choice on their part.
In every other situation, ever, in that stretch of time writing Python every day of my professional life, it's been fast enough. It's always IO-bound, waiting on a web service to return, or a DB query to finish, or a shell command to output something, etc., whether I've been writing web backends, or data processing pipelines, or security analyzers, or anything else.
At one company, I was hacking on a production product that received about 80,000 requests per second from remote clients. At another, we build a service that could scale up and down quickly to handle traffic burst that swung between 0 requests per second and around 3,000,000. At still another, we were shoving a few hundred TB of data through an ETL system. In each of those cases, it was fast enough as the main thing gluing the other various backend systems together that we had zero interest in rewriting it in something "faster". It simply never came up. It got the job done.
So my summarized answer would be that package management, ironically, is one of the only times I ever noticed Python being slow. Turns out constraint solvers can bog down pretty quickly. uv does lots of clever things that make it ridiculously fast, and things like poetry could use some of those same ideas to be, say, 10x to 20x slower than uv, which would still be really fast. It kinda sucked all the air out of the room, though. Rewriting it in Python would make it slower, and also require installing an installed, working Python version to run the package manager so that it could manage Python installations. Escaping that ouroboros with a single-file executable that can bootstrap the whole thing from scratch is pretty freaking nice, and I don't hear people clamoring to go back to the old ways.
Another is memory usage, which Python and Ruby have historically struggled with. You might not be compute bound (I have a similar experience with primarily I/O bound) but you're going to need a much bigger box to process the same work with a meaningfully sized app.
> I think ([the idea that {dogfooding is a core reason to stay in js}] is very reasonable given the nature of the tool).
(And I don’t want to bog down the original comment too much, so I’ll take this opportunity to amend that there are really 3+ valid bracketings, but the most obvious 2 – the one I highlighted and “I think X given Y” – are equivalent in meaning.)
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.
Linting is more important now than ever, and on my laptop it now gets run easily 50+ times on a typical workday.
The difference between a 2 minute lint and a 2 second lint, on 50 lint runs per day, is the difference between 1.6 hours just spent linting versus 1.6 minutes spent on linting.
And that's before we get to the fact that oxlint's memory usage is so low relative to ESLint that I can actually do something else while oxlint runs in the background, where ESLint would regularly force me to stop what I was doing while it ran!
As someone who has programmed in Go for years, it’s always surprising to hear what’s going on outside of my bubble.
It’s very surprising to me that you have to actually make arguments to persuade people that multi minute lint steps aren’t a good developer experience.
And that the standard tooling in the most popular language in the world still has this problem.
I’m not rooting for the volunteers working on ESlint to get displaced. In fact, I’m obviously very concerned about the displacement of human developers. But if it is possible to speed up the tooling with AI, it really calls into question what they’ve been doing for the past few decades as every other tool and language has seen the writing on the wall and optimized…
The GitHub post seemed to sort of recognize the gravity of the problem, and that ESLint might get replaced.
Only a little bit, though. Because then it went into obvious debunked arguments like “JavaScript is just as fast as Rust because of V8 engine optimizations”, which we know isn’t true. It’s also weird that AI wasn’t mentioned at all, and Astral’s Python linter wasn’t mentioned. Both feel like important developments that basically disprove most of their points.
Python is widely used because it is widely used, to which much of the lineage in tech goes to Google's usage. People forget (or weren't there for) Google's/Google's engineers' influence in the late 2000s/early 2010s.
Go—an entirely new language!—we built because Google finally gave up on improving Python enough. If they couldn't do it, who could?
With cheaper lints you can both use it for more things that are not trivial (I lean on it more and more for enforcing all the invariants I want my agents to maintain) and run it much more regularly without it being a real cost.
(Edit: Also, do you really not have lint turned on in your editor?)
Doing this shows I have a very small and extremely flat dependency graph of less than 10 dependencies total, of which none are security concerns.
When I first joined Orbitz, now Expedia, the build got up to 90 minutes. It was a Java app written for Java devs. The client-side web people would have to wait through a complete build to observe any code change, and because we weren’t Java people the owners of the build cared much less that you might anticipate.
> given that it’s a dev tool
So devs don't deserve fast tools?
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.
https://phys.org/news/2023-04-algospeak-version-linguistic-s...
committed suicide. don't sugar coat. don't hide it in the shadows. The euphemism treadmill tries to make reality palatable. Suicide is scary, sad and hard to predict.
I think I was just too sad and wrote it emotionally/reactively avoiding the salience of the word/topic.
I'm not editing it because it spun a somewhat curious tangent in the replies, though I stand with you that that's the right message.
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.
We lost a few rules on the way, but the net was it was well worth it.
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.
In the TypeScript world the linter pairs with the type system to give you a toolkit for writing custom static analysis rules that can prove that certain types of bugs simply can't exist in any code, even new code, without anyone having to remember to write a new test for such-and-such an edge case on a new feature.
TS plus lints can catch far, far more than most people credit them with, and with agents running amok in our codebases that's an extremely valuable resource to have.
Fast lints mean that I can use that tool with relative impunity rather than hemming and hawing about whether it's worth an extra 10 seconds on an already-too-long lint step.
Just like TSLint was made obsolete when ESLint started supporting TypeScript.
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.
All the linters and builders that have been rewriten lost the existing plugin ecosystem, rewriting only the top ones in Rust.
In general, many rewrites from JIT based runtimes could be spared by rewriting what is poorly written, in the same language.
Naturally there is a limit on what can be achieved, but how much is really something that matters in practice, versus wanting to play with cool tech?
Surprising that they mention this topic without even a reference to the v9 release. I understand the need to have a public catch-all response to the "why not Rust?" questioners, but reading the v9 retrospective it's clear that the team has no ambitions for anything that would cause another ecosystem shakeup.
https://eslint.org/blog/2025/05/eslint-v9.0.0-retrospective/
Whatever the merits of the other arguments, this part feels like the take of someone who hasn't been using SOTA AI much.
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.
I can see OP's viewpoints, why change my life to something worse to satisfy a bunch of commenters? If the people with hard-on for Rust want it, then they should just do it themselves, or donate to the people who want to do it.
"No time" is bs. "I don't want to" is nowhere to be found in the post.
The time is one
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.
I wouldn't call them evangelists. These are mostly toxic trolls that mindlessly parrot around tired cliches they themselves do not understand and feel entitled to bully people doing actual work.
See how those types are talking about memory safety in a thread about rewriting JavaScript command line tools in Rust. Remarkable stuff.
As I see it, there is a group of people building up Rust to be an outstanding tool, and then there are these types. Doing nothing, knowing nothing. Achieving nothing, but feeling entitled to bully others for doing their work. Some people work hard to lift Rust up, but this abject Rust mob is hell bent on tearing it all down.
Worst part about Rust is vibe coders using Rust, while hating the language.
Also LLMs are now intelligent enough that with linting/sanitizing they can write C that's equally as safe as Rust. The last time an LLM actually generated a clear UAF or OOB read/write was during the Opus 4.8 days.
https://preview.redd.it/github-language-trends-november-rust...
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.
I just don't think so, personally. You just really don't have to try when it comes to things like 0 allocation in Rust, and when you do put in effort it's for things like explicit SIMD. For something like typescript you have to put in a lot of effort for 0 allocations and then something like explicit SIMD just isn't really on the table.
In Rust I have real threads, I can manage IO, etc.
I'm sure you can push these languages and runtimes very far but there just are limits.
I've seen this so many times. Even with binaries or services that people say spend 90% of time in IO, I've sped them up with naive ports to Rust. Why? Because IO in Rust is going to be faster - freeing up your event loop by reducing contention will reduce latency, reducing allocations will reduce latency, control over task allocation will reduce latency, etc. I've just seen it too many times where "it's just a dumb pipe between services, language doesn't matter" turns out to be "language bound".
I'm sure they will improve performance by optimizing their use of the language but it's just not going to compete with a rust implementation.
I'd spent years tuning for JITs & it was so nice to not have to worry about their fickle nature
But I also don't think people should think they're helping by opening issues rambling about RIIR. It's up to the project leads & don't worry they know about Rust. Rewrites are not something for flyby PRs to implement
Rust is not "safe" as you think unless there is no "unsafe", no FFI, no link to C library and libc.
For example, Java is memory safe but the recent Java4Shell happen because it uses unsafe code to handle base64.
But you knew that. Don't nit pick.
It really isn't, and because I have no doubt you made this assertion genuinely that is itself a problem for their language.
C++ APIs with broad - and thus actually safe - contracts are very rare. Most of the time what we'll find is that there were a few "obvious" assumptions narrowing a seemingly wide contract, an iterator that's assumed to be non-null, a parameter that's expected to be in bounds, or to have this or that desirable property - and if it doesn't while Rust would reject the program alas in C++ it's just Undefined Behaviour so too bad you lose.
The quintessential example is sorting. Maybe we've got a billion Doodads and we sort them. What happens if our sort order is incoherent nonsense, either because our type doesn't actually have a total order or because we provided an explicit ordering rule which was not coherent? In Rust the answer is that this remains safe, since there was no coherent order we can't really say that the Doodads are now "sorted", but the same billion Doodads are there. In C++ that's Undefined Behaviour. Anything could happen. In the real world maybe some of the C++ Doodads are corrupted, or duplicated, or the total number of Doodads changes, maybe arbitrary code is executed, it's a horror show.
> Our historical data for C and C++ shows a density of closer to 1,000 memory safety vulnerabilities per MLOC. Our Rust code is currently tracking at a density orders of magnitude lower: a more than 1000x reduction.
https://blog.google/security/rust-in-android-move-fast-fix-t...
I await your tediously predictable "1000x reduction isn't eliminated" response.
Such as? I have never heard of any that had even vaguely good memory safety track records, unless they either a) never free memory (this is how Ada solves the problem), or b) aren't programs where memory safety is a significant factor, so nobody is looking (e.g. single player games, compilers, shells).
That just doesn't make sense.
If you want to benefit Rust, switch to Rust for backend and switch to Rust for frontend (wasm).
That makes a lot more sense.
ESLint can stay in JS while rust based alternatives will gain more and more ground until people forget about eslint.
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.