A language empowering everyone to build reliable and efficient software.
Key Benefits: Performance, Reliability, Productivity.
The ownership system is Rust's most unique feature.
fn main() {
let s = String::from("hello");
let s2 = s; // s is moved, not copied
// println!("{s}"); // compile error!
}
Ownership enables memory safety without a garbage collector.
| Year | Users (millions) | Growth |
|---|---|---|
| 2022 | 2.5 | +40% |
| 2023 | 3.5 | +29% |
| 2024 | 4.5 | +22% |
Install Rust using rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Then create your first project:
cargo new hello_world
cd hello_world
cargo run
Thank you for your attention! Questions?