Re:“Memory leaks are memory safe in Rust”
by SamReidHughes on Monday January 31, 2022 @12:27AM
(#30144854)
The exact opposite of that, of course.
Also it includes avoiding use-after-free and avoiding casting to the wrong type.
You might define memory safety to be that if you're accessing an object then (1) that object is actually there, and (2) it's the object you think it is.
Also it includes avoiding use-after-free and avoiding casting to the wrong type.
You might define memory safety to be that if you're accessing an object then (1) that object is actually there, and (2) it's the object you think it is.