News for hackers. Stuff that matters.
Re:JavaScript is Eating the World by falcolas on Thursday August 24, 2017 @09:57AM (#15090129)
Compression, hash computation, regular expression routing lookups, parsing text, building and serializing datastructures, reading and writing caches; I could go on.

Sure, JavaScript (and Ruby and Python) are usually fast enough with modern hardware - but we can't pretend there's no cost.

Re:JavaScript is Eating the World by jdc0589 on Thursday August 24, 2017 @10:53AM (#15090557)
deserializing data structures is a great example. JSON.parse is SLOW. all it takes is a bit of bad code that doesn't do any checking of input size/etc... and if an authoritative source starts sending larger payloads than usual, your node process is horked. Granted, that's not a problem remotely specific to node, it just has a bigger effect in a node env.