Rust for Beginners: Ownership, Structs, Error Handling and Projects
A 20-episode introduction to Rust that starts with installing the toolchain and covers ownership, borrowing, structs, enums, error handling, traits, generics, lifetimes, testing, iterators, smart pointers, concurrency and async. Concept episodes alternate with build-along projects: a game, an interpreter, a word-count CLI, a fractal renderer, an async crawler, a WebAssembly simulator and a Redis-style key-value store. It suits programmers or motivated newcomers who want a practical path into Rust.
- 20 lessons
- 4h 41m total
- Development
- English
- Earns YodaCoins
Curated by YodaHut. These lessons are hosted on YouTube and produced by their original creators, who are not affiliated with YodaHut. You still earn YodaCoins, keep your streak and track progress here.
What You'll Learn
- Install Rust with rustup and create, build and run projects with Cargo
- Explain ownership, moves and borrowing, and use shared and mutable references and slices without borrow-checker errors
- Model data with structs, methods, enums, Option and pattern matching
- Handle errors with Result, panic! and the ? operator, and organise code into modules
- Write generic code with traits and lifetimes, and add unit tests with Cargo's built-in test runner
- Use iterators, closures, smart pointers (Box, Rc, RefCell) and threads with channels and shared state
- Build small projects: a CLI tool, an interpreter, and a TCP key-value store with a thread pool
Prerequisites
- No prior Rust experience needed
- Basic familiarity with using a terminal and a code editor
- Some general programming exposure is helpful but not required
Course Curriculum
20 lessons · 4h 41m- 01Installing Rust and Your First Program11:27
- 02Variables, Types, Functions, and Control Flow9:24
- 03Build Rock, Paper, Scissors22:33
- 04Understanding Ownership10:21
- 05References, Borrowing, and Slices11:55
- 06Structs and Methods10:06
- 07Enums, Option, and Pattern Matching15:48
- 08Modules, Collections, and Error Handling15:43
- 09Build a Tree-Walk Interpreter (Lexer, Parser & Evaluator)25:48
- 10Generics, Traits, and Lifetimes12:27
- 11Writing Tests in Rust13:15
- 12Iterators and Closures13:41
- 13Build a Word-Frequency Counter CLI Tool20:13
- 14Smart Pointers13:49
- 15Fearless Concurrency10:12
- 16Build a Fractal Renderer with Rayon Parallelism18:59
- 17Async and Await Fundamentals11:16
- 18Build an Async Web Crawler11:05
- 19Build a WebAssembly Particle Simulator10:44
- 20Build a Multithreaded Key-Value Store (Redis Clone)12:21
About the Instructor
Will Velida
YouTube creator
The lessons in this course were produced by Will Velida and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and Will Velida is not affiliated with YodaHut.
Visit the channel on YouTubeMore in the Library: Development

SwiftUI Todo List App with MVVM for Beginners

SwiftUI & SwiftData: Build a Data-Driven iOS Vocabulary App

SwiftUI iOS Development for Beginners: Build a Quiz App

SwiftUI Bootcamp for Beginners: Build iOS Interfaces and App Logic

The Rust Programming Language: From Basics to Concurrency and Web Server
