Hacker News new | past | comments | ask | show | jobs | submit login

Rust by default doesn't do reference counting.

You can opt into reference counting with `std::rc::Rc`. (You can even opt into mark-and-sweep GC using the `gc` crate, but this isn't done much...).




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

Search: