News for hackers. Stuff that matters.
Re:Why Discord is switching from Go to Rust by iknowstuff on Tuesday February 04, 2020 @04:48PM (#22241368)
I think you're confusing Rust's ownership model with Swift's ARC. Rust doesn't do reference counting unless you use Rc<T> or Arc<T>.
Re:Why Discord is switching from Go to Rust by falcolas on Tuesday February 04, 2020 @07:34PM (#22242811)
Given the model of memory we are discussing (a global per-process LRU cache), that’s exactly what I was discussing using. Unless there’s another way to handle such global caches.