4 ms·
I've found it's kinda helpful to think of Rust/modern C++ style management as semi-automatic memory management. You control when things are allocated and freed,
by Measter 2y ago
I've found it's kinda helpful to think of Rust/modern C++ style management as semi-automatic memory management. You control when things are allocated and freed, but you don't bother with the minutia of it unless you're writing a low-level container type.
This is contrast to something like C/Zig, where things are fully manual, or something like Python or Javascript where things are fully handled for you.