Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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>.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: