Re:Garbage collected smart pointers in Rust via concurrent c...
by umanwizard on Friday December 13, 2024 @10:32PM
(#42414472)
One key difference between Rust smart pointers and C++ ones is that Rust ones can’t be null. So C++ unique_ptr is more like an Option<Box> that automatically calls unwrap_unchecked every time you try to use it.
[ Parent
| on HN ]