Hacker News new | ask | show | jobs
by m0th87 2603 days ago
The point with weakrefs, though, is that they still require developer intervention.

Also, you can use most memory management facilities in Rust (including reference counting) without `unsafe`.

1 comments

Correct, leaks are considered "safe" -- it's premature deallocations that are considered unsafe.