News for hackers. Stuff that matters.
Re:Identifying Rust's collect:<Vec<_>>() memory leak footgun by devmor on Thursday January 18, 2024 @02:09PM (#39046168)
I disagree that it’s a small semantic difference.

I don’t think it’s clickbait though, I think the author was just misusing terminology.

Re:Identifying Rust's collect:<Vec<_>>() memory leak footgun by hyperpape on Thursday January 18, 2024 @02:16PM (#39046267)
I said it was subtle, not small. I agree it's a valuable distinction.
Re:Identifying Rust's collect:<Vec<_>>() memory leak footgun by mratsim on Thursday January 18, 2024 @02:50PM (#39046699)
A memory leak means it leaks, it's not anymore under control. Here the memory is under control, it can be reclaimed by the program.