top | item 47193007

(no title)

simonask | 1 day ago

You seem to believe that Rust prevents memory leaks. It does not, and that's not what "memory safety" means.

discuss

order

sheept|1 day ago

Yes, Rust does not guarantee that it'll prevent memory leaks. But the design of the language does make it harder for you (and your collaborators/dependencies) to accidentally leak memory compared to, say, C++.