Rust's Goals w.r.t. Ownership
202307111159
Status: #idea
Tags: Rust
Rust's Goals w.r.t. Ownership
- A foundational goal of Rust, is to ensure that programs do NOT have any Undefined Behaviour
- A secondary goal of Rust, is to prevent undefined behaviour at compile-time instead of run-time. This goal has 2 motivations:
- Catching bugs at compile-time, avoids those bugs in production, improving reliability
- Catching bugs at compile-time, means fewer runtime checks for those bugs, improving performance