2 ms·
> the borrow checker is not manual memory management Ok, we disagree on the terminology here. I would consider that manual, because it looks the same in C++. R
by qznc 10y ago
> the borrow checker is not manual memory management
Ok, we disagree on the terminology here. I would consider that manual, because it looks the same in C++. Rust only has the static analysis to weed out all the unsafe/broken code.
- deleted 10y ago[deleted]
- kibwen 10y ago> I would consider that manual, because it looks the same > in C++ Many also consider RAII in C++ to be "automatic memory management". Other than agreeing that C is manual and Java is automatic, terms are failing us here. :) In the Rust community, instead of trying to argue whether or not Rust is manual or automatic (or "safe manual memory management", or "static automatic memory management", or etc.), we tend to just say "in Rust, you do need to think about memory management, but you don't need to worry about memory management". :P