3 ms·
Rust supports reference counting through std::rc, but most of its memory management is through lifetime enforcement. Basically C++’s RAII pattern, but baked int
by faitswulff 4y ago
Rust supports reference counting through std::rc, but most of its memory management is through lifetime enforcement. Basically C++’s RAII pattern, but baked into the language via the borrow checker.