Hacker News new | ask | show | jobs
by vga1 101 days ago
Are the Rust programmers who suffered from memory leaks through reference cycles in the room with you right now?
1 comments

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.