3 ms·
Rust has controlled mutable state, which is sort of a best of both worlds (vs pervasively everything-is-mutable and functional approaches)
by kzrdude 7y ago
Rust has controlled mutable state, which is sort of a best of both worlds (vs pervasively everything-is-mutable and functional approaches)
- bjoli 7y agoYeah! I have found that writing rust as I write scheme (with some limits, of course) usually means code runs fast without having to even think about the borrow checker. Sometimes iterators aren't enough though, and if I had reliable sibling recursion in debug mode, most of my use of loop would disappear.