2 ms·
I don't know if this was the intent or a side effect, but one reason for strictly controlling side effects is that it improves parallelization of the code. Glo
by SkyMarshal 15y ago
I don't know if this was the intent or a side effect, but one reason for strictly controlling side effects is that it improves parallelization of the code. Global state, mutable vars, other side effects are some of the biggest obstacles to code parallelization, and that's one of Haskell's solutions to it. Haskell and Erlang seem to be the only two languages that seem designed from the ground up for massive concurrency and parallelism.