4 ms·
The counter-argument to this being that the safety checks imposed by Rust prevent errors in the first place, saving debugging time and getting features out more
by ccostes 10y ago
The counter-argument to this being that the safety checks imposed by Rust prevent errors in the first place, saving debugging time and getting features out more quickly.
- falcolas 10y ago> the safety checks imposed by Rust prevent errors in the first place Not all errors, only a particular class of memory errors. Most of those memory errors are those that a GCed language doesn't have to worry about, and C/C++ have a bevy of tools to find those errors before they leave the developer's hands as well. That said, Rust's borrow checker will also help protect against a class of shared memory mutation errors as well. Is the time cost of pleasing the borrow checker for every memory allocation worth this benefit? Probably something only individual developers can answer. My answer is, for now, no.