News for hackers. Stuff that matters.
Re:Rust Sucks If I Fail to Write X by oconnor663 on Friday February 17, 2017 @01:54PM (#13670707)
The off-the-shelf standard library solutions to #2 are Rc<RefCell<T>> (single threaded) and Arc<Mutex<T>> (multi-threaded). Those aren't super high performance, and they're a little verbose, but they usually satisfy the borrow checker.

There are no comments on this comment yet.