Hacker News
new
past
comments
ask
show
jobs
points
by
satvikpendem
1 hours ago
|
comments
by
1 hours ago
|
next
[-]
deleted
reply
by
LinusU
1 hours ago
|
prev
|
[-]
Memory safety has nothing to do with memory leaks, and it's perfectly valid to leak memory in Rust?
e.g. `Box::leak(Box::new( ... ))`
reply
by
nicoburns
1 hours ago
|
parent
|
[-]
Memory safety doesn't help too much here, but "RAII" (automatically dropping values when they go out of scope) does.
reply