Re:Ask HN: What made you change your mind about a programmin...
by FreeFull on Monday March 04, 2019 @08:46AM
(#19301146)
I feel like Rust has shown that mutability is ok, as long as you don't have both mutability and aliasing. Having a mutable object accessible from many places at the same time definitely is a recipe for bugs.
Sure thing, the data buffers are objects being re-used with mutation rather than being built from scratch per new message. Immutable objects, or a kind of "FP light" would have made this particular problem impossible.