Smart pointers prevent leaks, not use after free. Borrow checking prevents use after free, not leaks. There's no meaningful memory safety unless you have both.
-
Show this thread
(To head off objections: you technically have memory safety even if you have leaks, so you don't technically need smart pointers. But I'll consider smart pointers part of the safety story for the sake of argument.)
8:34 AM - 24 Apr 2019
0 replies
0 retweets
16 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.