News for hackers. Stuff that matters.
Re:JavaScript Array.push is 945x faster than Array.concat by seanmcdirmid on Thursday May 23, 2019 @11:57AM (#19992880)
Until hardware changes away from being an intrinsically imperative machines, immutable approaches will be slower simply because the hardware doesn’t really support that.

We saw FP hardware leading to performance boosts kind of happen with GPUs (pixel and vertex shaders are just transformers), but then they got back to imperative again with GPGPU.

There are no comments on this comment yet.