3 ms·
Listen dude. I’m not going to argue about this: Immutability is measurably slower. Full stop. The fact that you can come up with silly, overly simplistic, non
by wredue 3y ago
Listen dude. I’m not going to argue about this:
Immutability is measurably slower. Full stop.
The fact that you can come up with silly, overly simplistic, non-idiomatic anecdotes showing that sometimes a compiler will prefer calculation doesn’t change that. It is a commonly known fact in low level programming that just because you’re calculating something doesn’t make it slower by default.
When Haskell devs can produce a game engine that doesn’t look like PS2 on a 4090, we can chat again about how immutability is supposedly not slow.