2 ms·
> that's a completely reasonable thing to want and > something that language designers are capable of > providing. This is exactly what the designers of
by kibwen 11y ago
> that's a completely reasonable thing to want and
> something that language designers are capable of
> providing.
This is exactly what the designers of Rust have worked to provide: freedom from GC while maintaining guarantees against user-after-free and double-free, while allowing you to reference-count bits of data when you ask for it (RC leaks are rare in Rust--it's not trivial to create cycles--though still possible).