3 ms·
Nodejs is very fast, because it uses an an engine that has had multiple millions of dollars thrown at it to make it fast. Most interpreted languages don't fare
by kbenson 6y ago
Nodejs is very fast, because it uses an an engine that has had multiple millions of dollars thrown at it to make it fast. Most interpreted languages don't fare well against it.
Perl fares somewhat favorably against Python, Ruby and PHP though. Those are what I would consider equivalent languages to compare against to get a general idea of its speed.
- ricardobeat 6y agoYou don't hear about it, but Perl has had many millions thrown at it too.
- ori_b 6y agoJS is probably closer to billions.
- DonHopkins 6y agoNot just orders of magnitude more money, but more importantly the large number of incredibly talented people working full time on JavaScript, in many different companies and research institutions, collaborating together. JavaScript benefits from an overwhelming network effect and critical mass of tools and developers, that Perl just can't touch, and never will.
- sergeykish 6y agoUnfortunately it does not change bad parts.
- ksec 6y ago>multiple millions of dollars I can pretty much assure you the accumulated dollars invested over the years in making JS fast is likely to be closer to multiple billions combined.