Updated June 2026 14 hours of live training delivered over 2-4 days to accommodate your scheduling needs. Rust developers who can pass the borrow checker on simple code but struggle when ownership crosses thread or async boundaries, when self-referential data is involved, or when AI assistants suggest Most developers learn enough Rust to pass the borrow checker on simple code, then hit a wall: lifetimes that won't elide, structs that need to reference themselves, async tasks that need shared state, FFI boundaries that don't fit Rust's ownership rules. This course is the focused upskilling that gets developers across that wall. It works through Rust's memory model on the 2024 edition, smart pointer types and their actual costs, interior mutability, self-referential structures with All students receive comprehensive courseware covering all topics in the course. Courseware is distributed via GitHub in the form of documentation and extensive code samples. Students practice the topics covered through challenging hands-on lab exercises, including a final lab that takes a piece of AI-generated Rust with overuse of A free GitHub account, the latest stable Rust toolchain installed via Memory-Safe Programming with Rust
Class Duration
Student Prerequisites
Target Audience
Rc<RefCell<T>> or Arc<Mutex<T>> reflexively. The course teaches how to make borrow-checker decisions deliberately and how to challenge AI-generated memory-management code.Description
Pin and helper crates, and concurrent ownership patterns. AI coding assistants are excellent at suggesting Rc<RefCell<T>> and Arc<Mutex<T>> for any borrow-checker error; this course teaches how to recognize when those suggestions are right and when they're hiding a design problem.Learning Outcomes
Rc, RefCell, or unsafe.Box, Rc, Arc, Cell, RefCell, Mutex, RwLock) for each situation.Pin and pattern-appropriate crates.Arc<Mutex<T>> is appropriate and when it's masking a design problem.unsafe is genuinely needed and how to wrap it in a safe abstraction.Training Materials
Arc<Mutex<T>> and refactors it to use ownership properly.Software Requirements
rustup (Rust 1.96+ on the 2024 edition), Visual Studio Code or another supported editor with the rust-analyzer extension, and an AI coding assistant of choice (GitHub Copilot, Cursor, or Claude Code) so the AI-review labs are realistic. A cloud-based environment can be provided if local installation is restricted.Training Topics
How Memory Works
Variables, Bindings, and Data
Drop implementationsThe Rust Memory Model
Reading Borrow-Checker Errors
Smart Pointers
Box<T>: heap allocation and trait objectsRc<T> and Weak<T>: single-threaded shared ownershipArc<T>: thread-safe shared ownershipInterior Mutability
Cell<T> for Copy typesRefCell<T> and runtime borrow checkingMutex<T> and RwLock<T> for synchronized mutationOnceCell, OnceLock, and lazy initializationSelf-Referential Structures
Pin and !Unpin typesouroboros and similar crates pragmaticallyMemory Safety Across Boundaries
Send, Sync, and 'staticunsafe and its rulesAI-Assisted Memory-Management Review
Arc<Mutex<T>>, gratuitous Box, hidden clones