Course
Rust Systems Programming
A practitioner's guide to ownership, lifetimes, borrowing across APIs, disciplined unsafe code, idiomatic errors, and production-shaped systems crates.
Reviews
Enrolled members can rate this course.
No reviews yet.
Ownership and Borrowing in Practice
Use ownership, borrowing, and lifetimes as design tools rather than compiler obstacles.
- 01Ownership Is Resource Management, Not a Compiler PuzzleRead ownership as a contract about who releases resources, who may observe mutation, and where invariants are enforced.24mOpen
- 02Borrowing Across API Boundaries Without Contorting the DesignDesign function signatures that express whether data is observed, mutated, consumed, or stored — and know when owned types are the honest boundary.26mOpen
- 03Lifetimes Without FearRead lifetime annotations as dataflow statements, recognize when elision is enough, and design around borrowing instead of fighting it.25mOpen
Failure, Unsafe, and Trust Boundaries
Model errors honestly, isolate unsafe code, and defend invariants at FFI and memory boundaries.
- 01Error Handling Idioms That Scale Beyond Hello WorldModel recoverable failure with precise error types, use context without losing causes, and reserve panics for broken invariants.27mOpen
- 02Unsafe Rust When It Is Actually JustifiedUse unsafe to implement invariants the compiler cannot verify, isolate it behind safe APIs, and document the proof obligations.28mOpen
- 03FFI and Memory Boundaries: Ownership Across LanguagesCross C boundaries with explicit ownership rules, ABI-safe types, panic containment, and defensive validation on both sides.26mOpen
Building Real Systems Crates
Structure crates, APIs, features, tests, and operational behavior for long-lived production systems.
- 01Structuring a Systems Crate That Can Grow UpSeparate policy, mechanism, platform glue, and public API so a crate remains testable as protocols, operating systems, and callers multiply.25mOpen
- 02API Design, Features, and Async Without Dependency SprawlDesign crates around caller control: optional dependencies, explicit runtime assumptions, feature flags with meaning, and no hidden global behavior.24mOpen
- 03Testing, Performance, and Operational Behavior in Production CratesTest failure paths and invariants, measure performance with realistic workloads, and expose behavior operators can observe and control.27mOpen