6 ms·
Haskell controls mutable data by pervasive immutability. Rust controls mutable data by the borrow checker system: allow sharing OR mutation but not both at the
by kzrdude 4y ago
Haskell controls mutable data by pervasive immutability.
Rust controls mutable data by the borrow checker system: allow sharing OR mutation but not both at the same time.
- dgb23 4y agoI get what GP is implying. The way you program (and think) is entirely different if you are working with immutable data structures and functions versus safe mutability.