3 ms·
I don't think that's right - in Rust, cycles of Rc or Arc will leak. In GC languages, cycles are properly deleted.
by jakobnissen 2y ago
I don't think that's right - in Rust, cycles of Rc or Arc will leak. In GC languages, cycles are properly deleted.
- littlestymaar 2y agoCycles with reference-counted pointers are how leaks are caused in Rust and it's specific to Rust, but GCs have their own sources of leaks and in my experience they occur roughly as frequently as cycles in Rust (rarely but not exceptionally either)