News for hackers. Stuff that matters.
Re:Immutable.rs: immutable data structures for Rust by the8472 on Friday April 06, 2018 @05:26PM (#16777595)
It might be useful for RCU data structures in multithreaded code
Re:Immutable.rs: immutable data structures for Rust by cryptonector on Friday April 06, 2018 @06:03PM (#16777870)
Absolutely. This is one very good use case.

Say you have a configuration to read and share with all threads. Each thread can make local changes that will not be visible to the others. The API looks like it's mutating the shared object, but it's actually mutating a copy.