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

You can do reference counting without making it atomic, by prohibiting sharing across threads. It’s not fundamentally required. See Rust’s Rc, for example.


or boost local shared ptr




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

Search: