Rust Learning Track
Overview
Learning Rust with focus on systems programming and eventual Linux kernel contribution (Rust for Linux).
Learning Path
| Phase | Focus | Status |
|---|---|---|
Fundamentals |
Ownership, borrowing, lifetimes |
In Progress |
Systems |
Memory management, unsafe, FFI |
Pending |
no_std |
Embedded, kernel-style programming |
Pending |
R4L |
Rust for Linux patterns |
Pending |
Resources
-
Course Notes - Section-by-section notes
-
Practical Examples - Working code samples
-
Crate Reference - Common crates usage
-
rustdoc Reference - Documentation patterns
-
AsciiDoc Syntax - Note-taking reference
Key Concepts
Ownership Model
-
Each value has exactly one owner
-
Value dropped when owner goes out of scope
-
Move semantics by default (no implicit copies)
Borrowing Rules
-
One mutable reference OR any number of immutable references
-
References must always be valid
-
No dangling pointers possible
Error Handling
-
Result<T, E>for recoverable errors -
Option<T>for nullable values -
panic!for unrecoverable errors