News for hackers. Stuff that matters.
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.
Re:Garbage collected smart pointers in Rust via concurrent c... by loeg on Saturday December 14, 2024 @01:15AM (#42415040)
Fair enough.