←back to thread

160 points todsacerdoti | 1 comments | | HN request time: 0.224s | source
Show context
noname120 ◴[] No.41898858[source]
> I just don’t think we’ve exhausted all the possibilities of making JavaScript tools faster

Rewriting in more performant languages spares you from the pain of optimization. These tools written in Rust are somehow 100× as fast despite not being optimized at all.

JavaScript is so slow that you have to optimize stuff, with Rust (and other performant languages) you don't even need to because performance just doesn't bubble up as a problem at all, letting you focus on building the actual tool.

replies(6): >>41898915 #>>41898923 #>>41898937 #>>41898975 #>>41901141 #>>41901628 #
evanjrowley ◴[] No.41898915[source]
>JavaScript is so slow that you have to optimize stuff

This raises the question, is JavaScript more prone to premature optimization?

replies(1): >>41898925 #
noname120 ◴[] No.41898925[source]
Well, can we really call it premature optimization if it's needed?
replies(2): >>41899013 #>>41900223 #
1. robinsonrc ◴[] No.41900223[source]
I guess if folks write JS with the idea that optimisations are needed in mind, then the chances of premature optimisations may go up along with those of the required ones