Probably just a typo due to the topic of the thread, but esbuild is written in Go.
Yes, got it mixed up in my head :)
Re:Rome will be written in Rust
by mastrsushi on Tuesday September 21, 2021 @11:10PM
(#28612743)
But how much do those type of performance benefits matter to JS tools like a linter?
The only positive they’re getting out of a native compiler language is unnoticeable performance boosts.
> But how much do those type of performance benefits matter to JS tools like a linter?
A lot, I don't see how this is really a question.
> The only positive they’re getting out of a native compiler language is unnoticeable performance boosts.
5 minutes to 1 second of build time for the same features isn't what I'd call "unnoticeable".
Spotting lint problems in real time as I type is way more useful than spotting them after I submit a pull request and wait 10 minutes for the CI system to kick in :)
However, having worked with Node for almost 10 years now, with a number of bundlers, most in Javascript but some in other languages, Javascript tools rarely win the performance race.
We switched our medium-sized app from Rollup (Javascript) to ESBuild (Rust). Our build times went from 5-15 minutes, to just under 1 second - with full feature parity.
I'm sure a lot of this boils down to algorithms and whatnot, sure. But I still would like to think it's in part the language choice, too.