News for hackers. Stuff that matters.
Re:Experts vs. Imitators by charleslmunger on Sunday June 16, 2024 @04:32PM (#40699869)
>In Rust, it's easy to ensure you return that memory when you're done with it.

This is a false explanation though - the problem is that memory is returned before you're done with it.

https://doc.rust-lang.org/book/ch15-06-reference-cycles.html

This is extra-wrong as python has a garbage collector to break reference cycles. If giving a simplified explanation to a layman, it's important that if they repeat the explanation to another expert they don't hear "well that's wrong".

There are no comments on this comment yet.