Hacker News new | ask | show | jobs
by calo_star 520 days ago
> but for multi-threaded code Rust uses smart pointers like C++

That's not the whole story. There's also Send and Sync marker traits, move by default semantic also makes RAII constructs like Mutex<T> less error prone to use.