Hacker News new | ask | show | jobs
by zbentley 107 days ago
People who don’t want to run out of memory?
1 comments

Are the Rust programmers who suffered from memory leaks through reference cycles in the room with you right now?
Yes? I’ve made that mistake, it’s not particularly hard to do. Stash an Arc in something that lives too long, or forget to clear its inner data structure when you should, and you have a leak.

That’s not like … a design flaw or something, just a common class of error Rust can’t save you from.