Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
crabbygrabby
· 4y ago · 0 comments
You literally cannot get them period in rust. Like it is not possible. That's the point of rust.
Comments
[–]
3836293648
4y ago
Leaks are absolutely considered safe by rust. Just look at Box::leak. And if we're comparing it to GC'd "leaks", those are typically hashmaps growning out of control and that can also happen
[–]
voorwerpjes
4y ago
Leaks can happen in rust. The guarantee safe rust makes is that memory leaks cannot result in undefined behavior.