Comment Comment by IshKebab > Rust doesn't prevent programs from having logic errors.Nobody ever claimed that. The claims are:1. Rust drastically reduces the chance of memory errors. (Or eliminates them if you avoid unsafe code.)2. Rust reduces the chance of other logic errors.Rust doesn't have to eliminate logic errors to be a better choice than C or assembly. Significantly reducing their likelihood is enough. parent IshKebab 10 months ago
Nobody ever claimed that. The claims are:
1. Rust drastically reduces the chance of memory errors. (Or eliminates them if you avoid unsafe code.)
2. Rust reduces the chance of other logic errors.
Rust doesn't have to eliminate logic errors to be a better choice than C or assembly. Significantly reducing their likelihood is enough.