Rendered at 14:57:39 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
JoshTriplett 21 hours ago [-]
> I’ve been asked this question multiple times over the last couple of years
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!".
eviks 4 hours ago [-]
Why should the users not express their interest in a superior technology to make their lives better without a deeper connection to the gate keepers?
sirtaj 2 hours ago [-]
There's no gatekeeper stopping you from doing it, and no incentive for someone to do it because you asked.
Timon3 3 hours ago [-]
Interesting choice to describe devs/maintainers as "gatekeepers".
hoppp 38 minutes ago [-]
Especially cuz the code is FOSS.
Are they gatekeeping their brand or their effort?
threethirtytwo 16 hours ago [-]
Nowadays anyone can just do it. No need to ask.
14 hours ago [-]
prpl 19 hours ago [-]
alternatively, if you want it in rust, convert it to rust?
dist-epoch 19 hours ago [-]
The pesters moved on. Now it's Rewrite it in Lean
JuniperMesos 16 hours ago [-]
People should absolutely consider rewriting their software in Lean.
tmpz22 14 hours ago [-]
Genuine question - if I cut off all your internet access, any access to LLMs or AI or agents, would you be able to have an intelligible conversation about what Lean is, what value if may provide, and what the trade-offs are for implementing Lean based software within enterprise organizations?
JuniperMesos 10 hours ago [-]
Yes. And my first point would be that existing software within enterprise organizations (as well as many other pieces of existing software, such as the FOSS Linux kernel) are full of subtle bugs and have been for decades; and these bugs are often facilitated by the limited faculties of most existing programming languages to mitigate or discourage many types of software errors. I've long thought that enterprise organizations are too reluctant to carry out large-scale rewrites, and the rise of agentic coding in the past couple of years drastically and favorably changes the economics of doing so.
hedgehog 18 hours ago [-]
Amateur. Who needs a language? Just have the robot write the machine code into the ELF.
Xirdus 18 hours ago [-]
There's only so much time before this stop being a joke.
hedgehog 17 hours ago [-]
So true. I've seen it proposed in seriousness, and generated assembly combined with profiling tools and formal verification might actually be a reasonable way to build performance critical inner loops (a lot of precedent in Souper etc).
Xirdus 14 hours ago [-]
I do seriously believe that, although for a different reason. If (when?) AI becomes advanced enough to write all code everywhere, I'm pretty sure it will be a completely different architecture than LLM, and all the benefits of a high level programming language readable to humans (training corprus, mapping to spoken languages, himan oversight) will lose value - a compiler will become a useless middleman and going straight to machine code will save tons of tokens (or whatever measure we'll be using then in place of tokens) without any loss of quality.
Corrado 6 hours ago [-]
This makes me think of a Star Trek type future where we don't even consider these things as "programs". It's just the computer doing stuff for everyone, as if it were another crew member.
You're comment really struck me; I've not really thought about it like this before. Sure, people have been harping on about how you don't need to write code anymore but I never really made the connection that the whole step of creating something human readable was unnecessary. Somehow that's less terrifying than having the computer create something I can create myself.
I guess the pain point for me is that we are not there yet. I feel like all of my skills and hard work over the years of learning to write code have been invalidated and I'm no longer useful. Maybe when/if this next generation architecture comes along I'll be more comfortable with it. Hopefully.
aeonfox 4 hours ago [-]
> going straight to machine code will save tons of tokens
Abstractions would reduce tokens. Languages provide useful abstraction (just like frameworks and libraries). Why throw away that expressiveness for the LLM to only have to reinterpret everything again when it has to reason about it?
I could see LLMs directly interacting with the AST to reduce tokens, but then we still have something that's easily translatable back and forth to its target language. Even assembly has some advantage vs machine code. Going all the way to the binary level throws away a whole bunch of useful token-efficient context.
_3u10 15 hours ago [-]
It’s usually not necessary you can easily hit memory bandwidth and at least 2 IPC with decent C/C++/Rust.
sph 20 hours ago [-]
It's like that old joke: "I quite admire Rust, but man, I really can't stand its fanboys."
The situation hasn't improved now that die-hard vibe coders have joined the ranks.
erichdongubler 20 hours ago [-]
For better or for worse, it's my general experience that people who actually use Rust day to day don't do this.
As a serious Rust user…sorry for folks who have to deal with this.
JoshTriplett 19 hours ago [-]
> For better or for worse, it's my general experience that people who actually use Rust day to day don't do 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.
dimator 19 hours ago [-]
As with any community, the vocal, annoying minority end up being the ones getting noticed. A tale as old as time.
Rapzid 16 hours ago [-]
An old open mic night in the Mission joke that bombed.
jghn 14 hours ago [-]
It used to be the most annoying thing about Rust was all the fanboys not realizing many of the novel features they touted weren't all that novel.
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.
Koffiepoeder 1 days ago [-]
For people that run a lot of eslint in pipelines, for us switching to oxlint saved around 150h of compute time per week in our runners.
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.
tobz1000 1 days ago [-]
Switching from native [TS + prettier + eslint], to [tsgo + oxfmt + oxlint], lowered my laptop's average temperature by 10-15 degrees at work.
thiht 23 hours ago [-]
Damn winter is gonna hit harder this year
mixmastamyk 21 hours ago [-]
Try running a 4k fireplace video instead.
the_cosmos 20 hours ago [-]
as a gif!
antonvs 20 hours ago [-]
Make it a real-time fireplace animation implemented in Typescript.
thiht 13 hours ago [-]
And then rewrite in Rust, but keep the compilation step looping to still get free warmth
prokopton 1 days ago [-]
Void Zero put out a tsrs package too.
uncooks 1 days ago [-]
[dead]
sam_lowry_ 24 hours ago [-]
You laptop will turn into a freezer if you switch to HTML sprinkled with some plain JavaScript.
satvikpendem 23 hours ago [-]
Still need to format and lint it and I'd hope people are using TypeScript these days and keeping JavaScript only as a compile target.
dutchbart 20 hours ago [-]
If you are only doing extremely basic JS with something like stimulus (for example with Ruby on Rails), then you really don’t NEED typescript. Since you are probably keeping your JavaScript usage to a minimum anyway.
tancop 19 hours ago [-]
Then you need a formatter, linter and type checker for Ruby. And those are probably as slow as the pure JS ones.
sorahn 1 days ago [-]
switching one of our repos from eslint to oxlint:
- macbook pro: 50s => ~30ms
- ci server: 3m => ~6s
(edit: 30ms, not 3)
23 hours ago [-]
WesolyKubeczek 23 hours ago [-]
You are not linting your node_modules by chance, are you?
sorahn 23 hours ago [-]
Nah, its just chonky codebase with a bunch of rules.
rozenmd 1 days ago [-]
just the move from eslint to oxlint saved my team something like 3.75 days of compute per calendar day.
musicale 18 hours ago [-]
> switching from [dynamic language] to [statically compiled language] saved around 150h of compute time per week in our runners.
Sounds like you may have discovered a surprising path to greater compute/power efficiency.
pie_flavor 8 hours ago [-]
Well, part of the point of stating the obvious is that TFA denies that this is how it works.
andai 21 hours ago [-]
For reference, that's roughly one week per week.
load-bearing 1 days ago [-]
biome too, I've been using it for years after removing eslint from one of the projects and seeing about a thousand packages gone (IIRC).
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.
We switched from Biome to oxc as oxc was still faster by 50% and supported standard ESLint rules or you can otherwise port them with AI.
latchkey 20 hours ago [-]
ultracite is a great pair with biome.
intellix 4 hours ago [-]
we switched from eslint/prettier to oxlint/oxfmt and the improvement was just insane to say it was almost a complete drop-in replacement. The benchmarks aren't an exaggeration and a task that used to take 20sec really did drop to about 1sec or less.
Hats off to the creators and maintainers of eslint for creating such an invaluable tool but saying JS still has performance improvements to explore and mentioning 10% doesn't make sense to me. 30 to 27sec is a nice free improvement for people who can't dedicate the time to move but...
KronisLV 1 days ago [-]
Moved to Oxlint and Oxfmt, am really happy with it! Doesn't have every feature of ESLint and Prettier, but that was inconsequential because I wanted to get at least 80% there but with much better performance, and it lived up to that.
wooly_bully 20 hours ago [-]
They support JS plugins now so you can recreate much of what’s missing, which finally unblocked our ability to adopt fully.
silverwind 1 days ago [-]
Oxlint is good for speed but still lacking in terms of rule coverage of what advanced eslint setups can provide.
demosthanos 1 days ago [-]
Oxlint supports most of eslint's plugin API and you can actually lift any rules from eslint that are still missing and vendor them and use them as plugins.
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.
asztal 24 hours ago [-]
Oxlint supports 61 out of 63 of typescript-eslint's rules.
demosthanos 23 hours ago [-]
I meant what I said: it has no type aware lint plugins.
You are also correct that it has built in rules that are type aware.
anamexis 22 hours ago [-]
Oxlint's JS plugin API doesn't get you significant speed benefits over ESLint, since it is, after all, interpreting JS. For example I pulled out our @eslint/compat to only run in CI, because the plugin was taking significantly more than the rest of our lint run combined.
I wish Oxlint had a native plugin API!
demosthanos 21 hours ago [-]
Native would be nice, but we are running oxlint with about 10 rules lifted wholesale from eslint plus 4 other custom rules plus an entire custom linter built on top of typescript directly for a set of custom type rules.
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.
XeO3 13 hours ago [-]
Also if you create a new NestJS project using CLI, it installs Oxlint instead of ESLint by default. It does speed up linting and overall build/CI pipelines.
kadhirvelm 16 hours ago [-]
Any idea how Oxlint compares to biome? We’ve been having a lot of success after migrating to that, but didn’t do a benchmark against this
NewLogic 23 hours ago [-]
Does anyone know if the type aware linting will get even faster with tsgo 7.1 programmatic API.
satvikpendem 22 hours ago [-]
They put out tsrs which I recommend you use and yes it will integrate with the other oxc projects
1 days ago [-]
worik 19 hours ago [-]
That is good
No need to rewrite eslint then, even if there ever was a "need"
manlymuppet 23 hours ago [-]
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.
cleansy 20 hours ago [-]
So you optimise for one thing and one thing only: speed. The maintainer's post lays out the many reasons why they think it's a balance of a bunch of factors. A faster program is NOT per default a better program. That's the whole point of his post.
tyre 17 hours ago [-]
Nobody, including the person you're replying to, is advocating for optimizing for one and only one thing.
Please don't argue against arguments you made up in your head. It's not productive.
wry_xy 15 hours ago [-]
The person you're defending is more guilty of this than the person you're admonishing. It's a mostly reasonable interpretation of the response, given the context of the original post.
tuwtuwtuwtuw 7 hours ago [-]
> A faster program is a better program
Maybe you missed that part.
afdbcreid 22 hours ago [-]
> I really dislike it when the argument to a slow program is that “it’s fast enough”
Where are they saying that? Their only answer to the performance question is "maybe it can be fast enough", not "it's fast enough".
manlymuppet 21 hours ago [-]
My problem isn’t with what’s said, but with what’s left out.
“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.
hedgehog 20 hours ago [-]
That's your claim, their view on performance in the post seems to be that they can get most of the available gains without switching languages, and switching languages has such a high cost the remainder wouldn't be worth it. Probably correct, at least in my experience.
manlymuppet 20 hours ago [-]
I think you might be confused. I'm not trying to put any words in the author's mouth. I'm just trying to say that developers generally (including in this post) should be more open about what "good enough" performance means.
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.
hedgehog 18 hours ago [-]
They pretty directly claim in the "The performance question" section that JavaScript is not an obstacle to good performance. If you're arguing against the straw man that they're claiming performance is good enough, not much to talk about there because they don't. To be clear, my team did switch to oxfmt for performance reasons, and I don't enjoy TS and the associated ecosystem, and generally I would push the whole thing into the sea if I could. I still think the author is correct that a rewrite is not necessary to improve eslint performance. Some analysis and profiling, refactoring of the systemic problems, upstream work to fix Node, adoption of WASM or native modules for the remaining hot spots, just basic performance work.
tyre 17 hours ago [-]
They said they see a pretty clear path to ~10% improvements. rust-based alternatives are often ~95–98% improvements.
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!)
afdbcreid 18 hours ago [-]
Actually, they pretty directly claim the opposite: JavaScript is an obstacle to good performance. Look at what they have said - it all basically boils down "V8 is amazingly fast, but idiomatic JS is still slow". What they claim is that they can possibly cross this obstacle, despite the language standing in their way.
antonvs 19 hours ago [-]
There’s a whole section entitled “The performance question”, which includes this:
> 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.
jmull 13 hours ago [-]
> A faster program is a better program.
Not necessarily. If the tradeoffs made to achieve that speed are too large the faster program may not be better after all.
The article lists the tradeoffs and if you want to argue the speed is worth the cost you should engage with those.
worik 19 hours ago [-]
> A faster program is a better program.
Not always
There are tradeoffs
tialaramex 14 hours ago [-]
Some of the Google engineers have given talks about this. Because Software Engineering includes maintenance - it's not just one shot vibe coding - it's much wiser to retain the code which was easier to understand alongside the faster code after writing code that delivers better performance at a price of readability.
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.
antonvs 20 hours ago [-]
> 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”.
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.
ares623 10 hours ago [-]
Just buy a faster machine? I mean, that's what everybody's favorite trillion dollar companies are doing now right, and is what is considered cutting edge. Just buy a beefier, faster machine to make a program run faster. Bitter lesson and all that jazz.
caaqil 22 hours ago [-]
> A faster program is a better program.
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.
manlymuppet 19 hours ago [-]
Unless the point of the program is at some point to not be fast, then yes, the same program, faster, is always better.
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.
joshheitzman 19 hours ago [-]
No, its a choice between different kinds of better. Developer effort spent on making it faster is developer effort spent on not making it better in a different way.
21 hours ago [-]
kaashif 22 hours ago [-]
If, all else equal, a program is faster, then it's objectively better. You can even achieve the old level of speed by running the new program and sleeping!
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.
ktimespi 21 hours ago [-]
> If, all else equal, a program is faster
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
h4ch1 21 hours ago [-]
I don't really understand why the parent is being downvoted so much (the condescending tone sure, i get that) but your program can be faster while not fully adhering to the spec but that doesn't make it objectively better.
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.
kentm 21 hours ago [-]
They’re downvoted because they basically just said “nuh uh” in a condescending tone which isn’t conductive to conversation.
caaqil 20 hours ago [-]
> If, all else equal
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.
manlymuppet 20 hours ago [-]
There are always trade-offs, but it is (especially when many users complain about performance) conceivable that most programs could be made faster with more engineering effort.
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.
dabinat 18 hours ago [-]
I get that dogfooding is useful and you should play to your team’s strengths, but I personally feel it was a mistake to build servers and dev tools with JavaScript.
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.
halflife 18 hours ago [-]
It’s more than that, having a shared language between client and server has a lot of advantages. From shared libs to shared schemas, and more useful specialization in developers when you have 1 language instead of 2 that can easily develop e2e.
There is obviously a solution to all of these, but it requires complexity, tooling, and better developers, so why bother?
geraldwhen 1 days ago [-]
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.
molf 1 days ago [-]
Not only that, but the configuration is a nightmare. Try to lint a project with Typescript and React. The amount of plugins and configs needed is ridiculous. The recent configuration format change definitely did not help either.
tisdadd 23 hours ago [-]
This is very true, I used to do everything with the Airbnb rules, but then that happened and I just left things with what came with the framework or slapped on standard instead.
otterley 18 hours ago [-]
It sounds like there's a viable alternative already (see the thread on oxlint).
cobwebcheck 20 hours ago [-]
[dead]
Xenoamorphous 1 days ago [-]
It makes me really sad but I think you’re right. Someone will fork ESLint in Rust using some AI tokens and everyone in the JS/TS ecosystem (who, in my experience, is super willing to jump to the next brightest thing) will switch to it and all the human effort put into it (as the link mentions it’s mostly/solely volunteeers) will be forgotten or at the very least not acknowledged near enough as it should be.
Like with many things AI, the end result will likely be better, but I find it very sad anyways.
tyre 17 hours ago [-]
No one needs to fork ES lint in Rust. There are ground-up solutions (oxlint + oxfmt) that adhere to nearly all of the same rules and checks. Rewriting ESLint in Rust is a waste of tokens.
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.
pjmlp 19 hours ago [-]
They might just as well port their node.js applications to Rust then.
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.
jadar 1 days ago [-]
I think this has always been the case with Open Source, though. It's largely a thankless enterprise run by volunteers. (See XKCD 2347.) People tend to move on to the new hotness pretty quickly.
hungryhobbit 22 hours ago [-]
Yes but ... we were all supposed to move on to the (faster) Biome project, right?
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.
etatester 1 days ago [-]
That's a what's going to happen. Eslint will make snail-paced improvements while drop-in replacements will show up every other month.
jay_kyburz 18 hours ago [-]
If ESLint is slower than it should be because its written in js, isn't your large codebase also slower than is should be because its written in js?
18 hours ago [-]
bevr1337 20 hours ago [-]
I suspect that 10.x significantly fractured their user base. (For the video game audience, every production application is playing Civ 5 and ESLint has released Civ 7.) So if the user base is fractured, and any ESLint migration is not worth the trouble, then it might actually be the right time for a complete rewrite. There's nothing to lose.
I can no longer justify the ESLint maintenance burden at work. When lint dependencies become a problem, we remove the dependency. Onward.
CodingJeebus 12 hours ago [-]
> I can no longer justify the ESLint maintenance burden at work. When lint dependencies become a problem, we remove the dependency. Onward.
This is largely how I’m feeling these days with JS apps at work. The UI component library is 2 major versions behind and migrating is a slog, the lint/format/style toolchain is getting behind on maintenance, we still haven’t fully migrated to the Vue composition API, the list goes on and on.
ch4s3 1 days ago [-]
I think the idea that dogfooding is a core reason to stay in js is very reasonable given the nature of the tool.
demosthanos 1 days ago [-]
Dogfooding has perks for sure, but even the TypeScript team determined that it wasn't worth the 10x performance hit dogfooding necessitated.
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.
badlucklottery 14 hours ago [-]
I think the value of dogfooding depends a lot on how "done" a project is.
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.
ch4s3 24 hours ago [-]
I guess my advice would be to use oxlint then, OSS doesn't mean 1 blessed program for each use case.
demosthanos 21 hours ago [-]
Yes, I do use oxlint now.
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.
kstrauser 24 hours ago [-]
I agreed until uv came along for Python, and then I was enlightened. Dogfooding is great on paper, but now I’m never going back.
ch4s3 23 hours ago [-]
IMO its reasonable but not the end of the discussion by itself. I think their points about the existing developers being largely JS devs is also reasonable. Moreover I think the existence of oxlint is also a fine reason to not move to rust. OSS allows for different projects to have different approaches and philosophies. Personally, I'd almost never use JS anywhere I didn't absolutely have to, but that's just me.
kstrauser 22 hours ago [-]
That's a valid point: eslint devs themselves are currently JS devs and presumably don't want to hop languages just for this. I think it's more that "the linter should be written in the language" is no longer a compelling reason by itself. 5 years ago I'd have said that Python package managers should be written in Python instead of bringing a whole other language in. Now I don't hold that opinion.
Kwpolska 20 hours ago [-]
If Python is too slow to write a package manager in, why bother writing anything in it? Why not just write your own code in Rust or whatever?
kstrauser 18 hours ago [-]
I've written Python for +- 30 years. In that time, there was exactly one time where a project I was writing was compute-bound to the point that I had to rewrite the inner bits in another language. I spun that off into its own open source project.
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.
tyre 17 hours ago [-]
The bits about typing and not needing a certain python version are great reasons that go beyond it being faster.
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.
kstrauser 13 hours ago [-]
Python makes it easy to hold references to a lot of data forever such that it never gets garbage collected. The bad side is you need to be mindful of data lifetimes, and not, say, slap @cache on everything. The good side is that it’s possible to be mindful and keep that stuff down.
Honestly, hacking on Rust stuff’s been good for me as a Python programmer. It makes you have to pay attention to lifetimes and you can’t accidentally keep reference to all the things. Keeping its borrow checker happy reminded me about some Python good habits that are too easy to let slip.
andyroid 20 hours ago [-]
Most of the rewrites pull in existing rules which were “dogfed” though. They just don’t eat it themselves.
skipants 22 hours ago [-]
I think it’s weak, to be honest; they could just use another large, complex project to dogfood on instead. Such as React.
morkalork 22 hours ago [-]
That's not what dogfooding means though. Running on projects that aren't their own is jungle-code: It comes from the wild!
NuclearPM 1 days ago [-]
I’m not sure where your missing comma is supposed to go.
minitech 1 days ago [-]
There’s no missing comma. Of the two valid bracketings, only one makes sense, so it’s not that hard to find. Here you go anyway:
> I think ([the idea that {dogfooding is a core reason to stay in js}] is very reasonable given the nature of the tool).
ch4s3 24 hours ago [-]
I think that their explanation about dogfooding is reasonable because the tool is used on js.
nhinck3 1 days ago [-]
I don't think this is correct. If you remove either of the two parentheticals the remaining sentence doesn't parse.
minitech 1 days ago [-]
I wrote them as brackets to guide grouping, not parentheticals. (They’re not intended to be a standard linguistics format or anything either.)
(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.)
nhinck3 1 days ago [-]
parenthetical commas around "that dogfooding is a core reason to stay in js"
hmokiguess 1 days ago [-]
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.
RestartKernel 24 hours ago [-]
With no ill intent: do you use "unalive" ironically, or should I take its appearance on HN as an indication that the term is gaining genuine legitimacy?
hmokiguess 20 hours ago [-]
I did not use it ironically, I felt the alternative was a bit too intense and having been working with a lot of younger Gen Z folks these days that lingo came up naturally without much thinking.
RestartKernel 14 hours ago [-]
Interesting, thank you. I did not think "unalive" would enter common usage, but perhaps it will indeed be an accepted informal euphanism in due time — especially as English speakers grow up on platforms that supposedly discourage more direct language.
vultour 18 hours ago [-]
Please stop, you're only legitimising brainrot lingo created to game an imaginary algorithm. These words should not exist.
CharlesW 23 hours ago [-]
If not legitmacy, neccessity. Language has always evolved to route around censorship and other damage.
There is no such necessity on HN though, and it seems unlikely to me that someone would assume otherwise. So even if it started out of neccesity, I'm curious whether it's being used here because the English spoken in some circles has evolved to include "unalive" without irony or neccesity.
perpetualpear 21 hours ago [-]
While not unalive, but I often spot ahh (instead of ass). I think this self censored jargon is seeping out of its containtment zones.
hmokiguess 20 hours ago [-]
That's a great point, I have worked with folks who build text moderation filters and this sort of stuff is really interesting on how it evolves to bypass censorship. Wasn't my intent, but interesting tangent. Thanks for bringing it up.
TiredOfLife 22 hours ago [-]
It's just part of some general spambots ruleset and nobody is changing per-site defaults
richwater 20 hours ago [-]
> unalived
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.
hmokiguess 20 hours ago [-]
Appreciate your call out, wasn't meant to downplay it.
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.
rbnafo 3 hours ago [-]
I recently tried this in a much smaller full-stack, cloud-based project with Opus 5.5. I found generating a requirements-based codebase took much longer in Rust, partially because libraries that you find in TS ecosystem don't exist in Rust yet.
Also on a cloud environment, IO is a big part of the equation so pure execution is not the only thing that matters. I can live with few more cents spent on Lambda execution.
I agree with the author on project context relevance.
The programming language is only one part of it.
austin-cheney 1 days ago [-]
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.
demosthanos 1 days ago [-]
I agree that ESLint's dependency problems are really bad and a higher priority for them to fix, but I think you're downplaying speed far too much, at least after the advent of AI.
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!
materielle 23 hours ago [-]
I mean this entirely earnestly, not intending to start a language war here.
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.
tyre 17 hours ago [-]
Python is not popular and widely used because it is the best language. There has been a stunning amount of work by brilliant people to try and beat Python into a reasonable experience: bolted on typing, memory usage (still bad), the GIL, etc.
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?
ahartmetz 17 hours ago [-]
Python used to be executable pseudocode - very simple, very flexible, and not very weird (unlike Perl). Nowadays, Python has accreted more features, not all of them well-designed. I've always preferred Python over Perl and Ruby.
sethops1 18 hours ago [-]
Every time I step outside the Go bubble I'm quickly reminded that the grass is in fact much greener on the inside.
austin-cheney 21 hours ago [-]
Lint corrections are largely trivial compared to things like enhancements or refactors. As a result I save linting as the final step before merging branches. I get the same result with far less time spent.
demosthanos 19 hours ago [-]
That's the result of lint costing too much. You've adapted to the tools that you've had, but that's not a cap on the role they're capable of playing.
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?)
austin-cheney 18 hours ago [-]
ESLint takes 2-5seconds on my large repo. I don’t run it less because of its performance. I run it less because it’s a security pit. I created a second package.json file without it. When I want to run ESLint now I have to change the names of the two package.json files, NPM install, run the tool, makes the changes, change the file names again, and NPM install again.
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.
Zakis1 18 hours ago [-]
I think most people would agree 2–5s on one repo doesn't mean speed doesn't matter. Ours took about 6 minutes on an M4 Pro, and --cache was too unreliable to use. We moved to oxlint, which fixed both the speed and most of the dependency surface.
austin-cheney 17 hours ago [-]
If one automation job takes 6 minutes and runs multiple times a day I would rethink my approach instead of blaming the tools. You are just burning your own time.
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.
demosthanos 12 hours ago [-]
They did rethink their approach. They switched to a tool that's fast enough to do everything that they wanted the tool to do in a fraction of the time.
Again, you're accepting limitations that don't need to exist so you can keep using a tool that's implemented in the wrong language for its class of problems.
austin-cheney 2 hours ago [-]
I have been struggling to understand your bizarre comment. I was very clear about my reasoning and approach and you discarded it completely to something irrelevant about language choice? I suspect that hypocritically does not apply to you. That you need a faster tool written in a different language to compliment you doing slow things in a slow language because it’s easier for you to bitch about open source maintainers not modifying some tool than modifying your own approach.
Selfishness immaturity of the common JavaScript developer that cannot program is why I am not in a hurry to look for JavaScript work.
demosthanos 38 minutes ago [-]
I read your reasoning and didn't understand it at all, but now I do. You're not doing professional work in the language. That explains his whole thread.
demosthanos 11 hours ago [-]
But... you don't have a flat dependency graph. You have a flat prod dependency graph and a dev dependency graph that includes all of eslint, with extra steps of renaming files instead of just using the prod/dev dependency split that NPM already supports.
And how are you handling the lockfile? Do you at least pin the eslint version in your second package.json?
vikramkr 1 days ago [-]
CI speed and lint speed is a bottleneck and increasingly large percentage of time and cost with agent driven dev. It's a bottleneck
IshKebab 1 days ago [-]
"Speed is not the focus" doesn't sound so good when another tool is just as competent and much faster.
> given that it’s a dev tool
So devs don't deserve fast tools?
austin-cheney 24 hours ago [-]
Not as much as the people who pay the bills.
clintonb 23 hours ago [-]
What does that even mean? The "people who pay the bills" pay developers (and/or agents). Decreasing development time in this case saves real money by decreasing developer wait time and CI spend.
rane 24 hours ago [-]
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.
sroussey 12 hours ago [-]
you can also use bun
tengbretson 22 hours ago [-]
No kidding. I can't be having the oomkiller wrecking my agent box whenever two eslint runs coincide.
Too 9 hours ago [-]
These are exactly the same reasons you used to hear in the Python ecosystem before, until Astral came around and blew everyone out of the waters with uv, ruff, and now ty. Since then, nobody is looking back and wishing gee if only I could contribute back more easily. AST parsing is so complex in itself that it it will scare away contributors irrespective of language.
The point about speed irrespective of language is interesting to look at here too. In fact many reasons uv is fast is about smarter caching and concurrency, not raw rust speed. The users don't care, they just see faster.
ternaus 1 days ago [-]
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.
padavanchik 21 hours ago [-]
The right way to solve this is to take nodejs into the current decade. A formatter and linter should be shipped with Node to end the debate. We should build our projects, not our runtimes.
bevr1337 20 hours ago [-]
After using rustc and cargo at work, I would _love_ to ditch the user land unit testing, formatting, and analysis of JS. Node shipping a test runner was an excellent decision. I migrated all our JS projects to use it immediately. Keep those improvements coming!
DimmieMan 13 hours ago [-]
Deno tried that and it was resoundingly rejected.
Yes there were other problems but I think the node community as a whole prefers their mess of revolving shiny tools.
diegof79 1 days ago [-]
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.
demosthanos 24 hours ago [-]
My feeling is that we actually underutilize linters because they're so slow that extending them too much hurts. Switching to better linters should allow us to catch more, sooner.
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.
We lost a few rules on the way, but the net was it was well worth it.
sedatk 10 hours ago [-]
> I’ve been dealing with chronic health issues for over a decade that have left me without the stability of a full time salary let alone the ability to lead a normal life.
Why does it have to be this way in the year 2026?
kaffekaka 5 hours ago [-]
Don't worry, an age of abundance is coming.
Jokes aside, I agree completely. A society should be measured by how it takes care of the people who cannot take care of themselves.
chpatrick 1 days ago [-]
There's oxlint for that.
tobi007-del 13 hours ago [-]
I feel it's not only about speed but plugin extensibility. Crossing an IPC boundary back into JS when using project-specific type-checking on custom rules, it can eat up the speed gain except the rule API is in rust too.
17 hours ago [-]
solatic 8 hours ago [-]
> Another thing about the ESLint team: these are folks who have deep knowledge of JavaScript and TypeScript. They live and breathe it every day. Part of what attracted them to the project was the ability to meaningfully contribute by writing JavaScript. They enjoy writing JavaScript and figuring out problems in JavaScript... Switching to Rust would mean alienating a large portion of the existing team and contributor base.
Classic Innovator's Dilemma. Even though you can see the young upstarts (oxlint, biome) coming for your market-share, you're still frozen in place, because everything you built up until now ossifies you into the way you always did things.
I see this in companies too. The codebase is hundreds of thousands of lines of Python. Everyone from the VP Engineering down to all the engineers are all "Python shop" guys. The thought of switching away from Python is anathema, even as competitors enter and start stealing away market-share.
Leadership is "supposed" to pull the trigger and go ahead and alienate everybody. But yeah, I get it, on a human level, that's really hard.
ieie3366 20 hours ago [-]
No reason to use ESLint anymore, multiple better and faster alternatives exist in 2026
someothherguyy 20 hours ago [-]
examples?
ieie3366 19 hours ago [-]
Biome and oxlint
1 days ago [-]
1 days ago [-]
larodi 21 hours ago [-]
Hm... it just occurred to me that it actually makes a lot of sense to keep the human level, less capable, but still valuable, dev at human speeds with the most expressive formal language (may be JS, may be Haskell if u want), and then occasionally translate all into Rust, including back-porting. For s.o. who owns both projects, as in leading them, he may be in position to get the benefits from both worlds.
moogly 20 hours ago [-]
With oxlint, ESLint is obsolete and can be archived. I say that with all love to the original ESLint developers/maintainers and their hard work over the years.
Just like TSLint was made obsolete when ESLint started supporting TypeScript.
fwlr 1 days ago [-]
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.
notdefio 1 days ago [-]
There's already Biome and Oxlint.
zeroq 37 minutes ago [-]
> this is Rust’s real advantage: you write code and never need to worry about garbage collection
You do realize you can do exact same thing in JS?
fukaiall 3 hours ago [-]
If your life is miserable, please rewrite yourself in Rust.
zairex 22 hours ago [-]
> Ecosystem turbulence. If we make it a goal that we need to support all existing ESLint ecosystem packages then that will take a lot of work before a new version can ship. Shipping without this would produce a curiosity rather than a usable tool. Of course, we could decide not to support existing packages, which brings its own challenges.
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.
The ecosystem system and contributions part is a big one, not everyone is willing to jump ship for the new hot technology, and there is the whole question of plugins being rewriten, regardless of AI code generation.
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?
etatester 1 days ago [-]
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.
throw-the-towel 1 days ago [-]
100k/year would barely cover one full-time dev.
100721 1 days ago [-]
This is false. Not everywhere in the world has the same pay scales as wherever you are.
Still very far from "everyone is a volunteer." $100k should go a very long way with AI
flufluflufluffy 1 days ago [-]
One doesn’t need an excuse to do what they want with their own project.
etatester 1 days ago [-]
Exactly, which is what I said.
netsharc 1 days ago [-]
Someone enjoys cooking Japanese food. Then some bunch of commenters tells him what he needs to do is manage a bunch of robot cooks cooking Italian food, and he better like it. But it'll all still be volunteer work. As to his enjoyment, who cares?
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.
etatester 1 days ago [-]
Yes, I said this exactly.
"No time" is bs. "I don't want to" is nowhere to be found in the post.
jmull 1 days ago [-]
If you want to know why they "don't want to" you could read the article. You're calling them dishonest, but it doesn't look like you even read what they had to say (well, you ignored it all and didn't engage with it, which is effectively the same thing). The one thing you did engage with is their point about the time it would take... but do you really think it would take trivial amounts of time to convert the team and project to rust? Silly.
The time is one
wartijn_ 9 hours ago [-]
> A good way forward would be for oxlint to reach 100% and for it to be merged into eslint's repo.
Why? That doesn't solve most of the problems the author points out, getting to 100% is obviously very hard and the benefit is... what exactly? If oxlint or biome can replace eslint in your project just switch to that project. Waiting until oxlint can be merged into eslint seems dumb.
sherburt3 1 days ago [-]
The worst part about rust is rust evangelists
locknitpicker 1 days ago [-]
> The worst part about rust is rust evangelists
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.
sevenzero 1 days ago [-]
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.
eterm 1 days ago [-]
It makes sense to switch from non-memory safe languages to memory safe languages.
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.
sevenzero 1 days ago [-]
Well OPs comment wasnt about ESLint was it?
jmull 1 days ago [-]
Perhaps they find rust evangelists annoying because they ignore context to post irrelevant comments in their zeal?
sevenzero 24 hours ago [-]
Good thing im not a rust evangelist and good thing OP posted a irrelevant comment first ;)
uecker 1 days ago [-]
Does it make sense? Soon this will get less since the flaws are removed. I worry more about supply chain issue from Rust dependencies.
sevenzero 24 hours ago [-]
Newsflash, every language ecosystem has that dependency hell.
uecker 24 hours ago [-]
Not nearly in equal ways.
sevenzero 4 hours ago [-]
Name 1 commercially successful language ecosystem where this isnt an issue
uecker 1 hours ago [-]
It is always an issue, but this was not the point. It is many order of magnitude worse in Rust / Python / npm than in C or C++.
sevenzero 36 minutes ago [-]
Yea writing software in C and C++ isnt nearly as economic as easier languages and C and C++ allow for whole different kinds of footguns.
Ygg2 1 days ago [-]
Categorically false.
Worst part about Rust is vibe coders using Rust, while hating the language.
_tardigrade_ 1 days ago [-]
we rewrote most our internal apps to rust and we dont even have one rust developer
carlos-menezes 1 days ago [-]
"we" is doing a lot of heavy lifting there.
Ygg2 1 days ago [-]
Is that you DHH? Or is it ESR?
rfgplk 1 days ago [-]
Rust is a hard no-go if vibecoding. Hard hard no-go. The abysmal compile times + how resource heavy the compiler itself is makes agentic development extremely taxing. You can easily max out (CPU and mem usage wise) even a very powerful workstation.
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.
Actual vibecoders are probably ambivalent since they don't read the code anyway.
Ygg2 19 hours ago [-]
That's the thing, they heard that this Rust thing is better than C. And harder to master
brachkow 23 hours ago [-]
eslint is longest phase of my CI on every project, that and it sums up into $$$ per year
latchkey 20 hours ago [-]
ultracite with biome/ox solves that. ai will switch you over in minutes.
TheRealPomax 22 hours ago [-]
Because we already have Biome? Why bother suggesting an eslint rewrite when the alternative already exists? Just go use that?
thimabi 1 days ago [-]
> 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.
insanitybit 1 days ago [-]
> 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.
__s 1 days ago [-]
IME Rust is easier way to reach perf improvements & has higher ceiling, & this goes back to rewriting a cardgame engine pre-AI (both engine in wasm & server from node)
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
cavoirom 1 days ago [-]
> Rust code benefits from memory safety, from the compile-time guarantees that make it easier for AI agents to write and maintain it…
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.
IshKebab 1 days ago [-]
When people use the term "memory safety" they almost always mean "unless you use the memory unsafe escape hatches that basically all languages provide".
But you knew that. Don't nit pick.
uecker 1 days ago [-]
As if not a lot of Rust marketing was based on blurring exactly the distinction between "completely eliminates all memory safety issue" (Safe Rust) and "competed with C/C++ as a system programming language" (Rust including its unsafe part).
preg_match 1 days ago [-]
Even comparing to C++ it’s a huge improvement, because all of C++ is unsafe. Unsafe rust, even in codebases that utilize it, is a small minority of the code.
uecker 23 hours ago [-]
This "all C++ is unsafe" is similarly exaggerated Rust marketing claim. It is logically equivalent to "all Rust code is unsafe because it may contain unsafe" and nonsense for the same reason. The only claim you can make is that it is easier to screen for the unsafe parts because it is marked more clearly. I would agree with this much more limited statement.
tialaramex 22 hours ago [-]
> This "all C++ is unsafe" is similarly exaggerated Rust marketing claim
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.
IshKebab 23 hours ago [-]
The fact is that in practice Rust essentially eliminates all memory safety issues. You can describe that however you want, but most people are perfectly happy with "Rust is memory safe", and you know what they mean when they say it.
uecker 23 hours ago [-]
In practice Rust does not eliminate all memory safety issues. So it depends what you mean by "essentially". And then the question is what you compare it to. It is certainly much better than average C++ code.
IshKebab 22 hours ago [-]
It absolutely does.
> 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.
I await your tediously predictable "1000x reduction isn't eliminated" response.
uecker 17 hours ago [-]
I think this data is confounded in many ways, even assuming I would trust a blog post. But I also do not really doubt that there is advantage of average Rust code over average C++ code. There are C projects (and I suspect also C++ projects) with a very good track record in terms of memory safety, and they do it somehow magically without Rust. I think that would be a more interesting comparison to study. But ultimately, I also do not think this even a terrible important or interesting questing. It may be much more important to a company that tries to put unhackable advertisement and spyware platform into everybody's pockets. For my own security the fact that I get limited security support for Rust packages is far more concerning than memory safety ever was.
IshKebab 16 hours ago [-]
> There are C projects (and I suspect also C++ projects) with a very good track record in terms of memory safety
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).
uecker 7 hours ago [-]
Never freeing memory is a strategy that is used in the embedded world a lot. There are also a lot industrial applications where code is formally verified. (eBPF is an example where C code is verified to be safe in an open source context).
If you look in the open source world for larger projects which just use regular old-style C. I think OpenBSD and curl have a very good track record, probably also the projects by DJB (but I did not follow recent history). I am sure I can find many more examples.
axpy906 23 hours ago [-]
Biome?
zach_moore 12 hours ago [-]
Waiting for the: "We rewrote jquery in Lean."
20 hours ago [-]
KerrAvon 14 hours ago [-]
> Doing a complete rewrite of ESLint, regardless of target language, is a lot of work even when using AI
Whatever the merits of the other arguments, this part feels like the take of someone who hasn't been using SOTA AI much.
aozame 20 hours ago [-]
ESLint will die. It's just a matter of time. It's INSANELY slow. I don't care if they rewrite it in Rust, Go, Zig, or whatever, but please do SOMETHING.
jimbob45 20 hours ago [-]
Why not allow browsers a built-in language other than the worst programming language ever devised? How is it 2026 and Rust remains a second-class citizen to ES/JS?
HackerThemAll 1 days ago [-]
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).
elryry 1 days ago [-]
This is an extreme, all or nothing response. JavaScript tooling written in Rust is and has been very successful at saving teams lots of money and lots of time.
100721 1 days ago [-]
What if you’re not concerned with benefitting Rust and you’re more concerned with saving money on CI/CD pipelines?
That makes a lot more sense.
CrimsonRain 23 hours ago [-]
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.
ergonaught 22 hours ago [-]
Globally, the precise total number of people who are owed an ESLint rewritten in Rust is exactly zero.
CrimsonRain 18 hours ago [-]
That's fine; just like it is fine to say "I don't want to rewrite in Rust just because." What is annoying is feeding BS and defending a 30x slow linter.
esafak 17 hours ago [-]
It is a cope; there are already Rust-based alternatives. The good thing is that ESLint itself does not need to be rewritten to provide value; it can be used to bootstrap the rest.
stephbook 23 hours ago [-]
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.
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!".
Are they gatekeeping their brand or their effort?
You're comment really struck me; I've not really thought about it like this before. Sure, people have been harping on about how you don't need to write code anymore but I never really made the connection that the whole step of creating something human readable was unnecessary. Somehow that's less terrifying than having the computer create something I can create myself.
I guess the pain point for me is that we are not there yet. I feel like all of my skills and hard work over the years of learning to write code have been invalidated and I'm no longer useful. Maybe when/if this next generation architecture comes along I'll be more comfortable with it. Hopefully.
Abstractions would reduce tokens. Languages provide useful abstraction (just like frameworks and libraries). Why throw away that expressiveness for the LLM to only have to reinterpret everything again when it has to reason about it?
I could see LLMs directly interacting with the AST to reduce tokens, but then we still have something that's easily translatable back and forth to its target language. Even assembly has some advantage vs machine code. Going all the way to the binary level throws away a whole bunch of useful token-efficient context.
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.
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.
https://biomejs.dev/
Hats off to the creators and maintainers of eslint for creating such an invaluable tool but saying JS still has performance improvements to explore and mentioning 10% doesn't make sense to me. 30 to 27sec is a nice free improvement for people who can't dedicate the time to move but...
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"
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.
Maybe you missed that part.
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.
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 necessarily. If the tradeoffs made to achieve that speed are too large the faster program may not be better after all.
The article lists the tradeoffs and if you want to argue the speed is worth the cost you should engage with those.
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.
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?
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.
This is largely how I’m feeling these days with JS apps at work. The UI component library is 2 major versions behind and migrating is a slog, the lint/format/style toolchain is getting behind on maintenance, we still haven’t fully migrated to the Vue composition API, the list goes on and on.
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.
Honestly, hacking on Rust stuff’s been good for me as a Python programmer. It makes you have to pay attention to lifetimes and you can’t accidentally keep reference to all the things. Keeping its borrow checker happy reminded me about some Python good habits that are too easy to let slip.
> 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.)
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...
https://nplp.pl/en/artykul/aesopian-language/
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.
Also on a cloud environment, IO is a big part of the equation so pure execution is not the only thing that matters. I can live with few more cents spent on Lambda execution. I agree with the author on project context relevance. The programming language is only one part of it.
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.
Again, you're accepting limitations that don't need to exist so you can keep using a tool that's implemented in the wrong language for its class of problems.
Selfishness immaturity of the common JavaScript developer that cannot program is why I am not in a hurry to look for JavaScript work.
And how are you handling the lockfile? Do you at least pin the eslint version in your second package.json?
> given that it’s a dev tool
So devs don't deserve fast tools?
The point about speed irrespective of language is interesting to look at here too. In fact many reasons uv is fast is about smarter caching and concurrency, not raw rust speed. The users don't care, they just see faster.
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.
Yes there were other problems but I think the node community as a whole prefers their mess of revolving shiny tools.
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.
We lost a few rules on the way, but the net was it was well worth it.
Why does it have to be this way in the year 2026?
Jokes aside, I agree completely. A society should be measured by how it takes care of the people who cannot take care of themselves.
Classic Innovator's Dilemma. Even though you can see the young upstarts (oxlint, biome) coming for your market-share, you're still frozen in place, because everything you built up until now ossifies you into the way you always did things.
I see this in companies too. The codebase is hundreds of thousands of lines of Python. Everyone from the VP Engineering down to all the engineers are all "Python shop" guys. The thought of switching away from Python is anathema, even as competitors enter and start stealing away market-share.
Leadership is "supposed" to pull the trigger and go ahead and alienate everybody. But yeah, I get it, on a human level, that's really hard.
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.
You do realize you can do exact same thing in JS?
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/
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?
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.
https://en.wikipedia.org/wiki/Offshoring
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
Why? That doesn't solve most of the problems the author points out, getting to 100% is obviously very hard and the benefit is... what exactly? If oxlint or biome can replace eslint in your project just switch to that project. Waiting until oxlint can be merged into eslint seems dumb.
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.
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.
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).
If you look in the open source world for larger projects which just use regular old-style C. I think OpenBSD and curl have a very good track record, probably also the projects by DJB (but I did not follow recent history). I am sure I can find many more examples.
Whatever the merits of the other arguments, this part feels like the take of someone who hasn't been using SOTA AI much.
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.