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
-
Replying to @pcwalton
isn't Rust quite literally built on the fact that leaks are safe?
2 replies 0 retweets 4 likes
Replying to @whitequark
Patrick Walton Retweeted Patrick Walton
Yeah, you beat me to my followup :)https://mobile.twitter.com/pcwalton/status/1121074917913419777 …
Patrick Walton added,
8:35 AM - 24 Apr 2019
0 replies
0 retweets
4 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.