Rust
An introductory course covering Rust’s core concepts. Rust is a systems language that guarantees memory safety without a garbage collector through its ownership model.
Course outline
- Basics - installation, hello world, variables, types, functions
- Ownership & Borrowing - ownership, borrowing, references, slices
- Structs, Enums & Patterns - structs, enums, pattern matching
- Error Handling -
Result,Option, the?operator - Traits & Generics - traits, generics, lifetimes
Resources
Install
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update
cargo new hello_world
cargo build
cargo run
cargo test