Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
0x457
10 months ago
|
parent
|
context
|
favorite
| on:
Effective Rust (2024)
What's unsafe about implicitly "leaking" memory?
FpUser
10 months ago
|
next
[–]
Running out of memory and killing the OS I would guess unless the OS kills misbehaving process first.
0x457
10 months ago
|
parent
|
next
[–]
So pretty much completely safe, then?
loeg
10 months ago
|
prev
[–]
Destructors do more than just free memory.
0x457
10 months ago
|
parent
[–]
I've specifically said leaking memory? Then again, destructor that didn't run would be an application level error not "safety in rust" error.
loeg
10 months ago
|
root
|
parent
[–]
You were responding to my comment, which had scope broader than just leaking memory. So, to suggest it is only about leaking memory is not really responsive.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: