4 ms·
Rust is a safe language for a specific definition of safe regarding a class of memory errors.
by ecshafer 4y ago
Rust is a safe language for a specific definition of safe regarding a class of memory errors.
- pa7ch 4y agoRegarding multiple classes of memory errors I think. Many languages are memory safe from control flow takeover, rust extends this to data races corrupting data.
- Georgelemental 4y agoRust (without `unsafe`) protects you from Undefined Behavior. Behavior that is defined as crashing your program doesn't fall under that.