The Rust Programming Language: From Basics to Concurrency and Web Server
A 44-lesson walkthrough of the official Rust book. It starts with installing Rust, Cargo and a guessing game. It then covers ownership, borrowing, structs, enums, error handling, generics, traits and lifetimes. Later lessons cover testing, closures, iterators, smart pointers, concurrency, patterns, unsafe Rust and macros. It ends with a multithreaded web server project. It suits programmers who want a structured, book-aligned path into Rust.
- 44 lessons
- 10h 5m 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 and use Cargo to create, build and run projects
- Apply ownership, borrowing, references and slices correctly, and read borrow-checker errors
- Model data with structs, enums, Option and pattern matching
- Handle errors with Result, the ? operator and panic!, and know when to use each
- Use generics, traits and lifetime annotations to write reusable code
- Write unit and integration tests, and build a small CLI app with test-driven development
- Use closures, iterators, smart pointers (Box, Rc, RefCell) and threads with channels and Mutex
Prerequisites
- Some prior programming experience in any language is helpful
- A computer where you can install Rust and a code editor
Course Curriculum
44 lessons · 10h 5m- 01Getting Started: Installing Rust, Hello World and Cargo7:10
- 02Programming a Guessing Game13:22
- 03Common Programming Concepts14:33
- 04Understanding Ownership, Borrowing and Slices25:30
- 05Structs17:22
- 06Enums and Pattern Matching12:34
- 07The Module System22:26
- 08Common Collections24:55
- 09Error Handling16:20
- 10Generic Types15:18
- 11Traits11:44
- 12Lifetimes19:10
- 13Testing in Rust15:15
- 14Testing in Rust, Part 214:10
- 15Writing a CLI App, Part 117:44
- 16Writing a CLI App, Part 216:41
- 17Closures19:53
- 18Iterators13:25
- 19Iterators in Practice7:00
- 20Publishing a Crate14:02
- 21Cargo Workspaces11:53
- 22The Box Smart Pointer12:18
- 23Smart Pointers: The Deref Trait10:01
- 24Smart Pointers: The Drop Trait5:07
- 25Smart Pointers: Reference Counting8:41
- 26Smart Pointers: Interior Mutability17:04
- 27Smart Pointers: Reference Cycles15:38
- 28Concurrency: Creating Threads10:41
- 29Concurrency: Message Passing9:26
- 30Concurrency: Sharing State9:12
- 31Object-Oriented Programming in Rust7:10
- 32Using Trait Objects13:32
- 33The State Design Pattern20:21
- 34Patterns and Matching10:02
- 35Pattern Syntax15:24
- 36Writing Unsafe Rust15:26
- 37Advanced Traits13:35
- 38Advanced Types8:36
- 39Advanced Functions and Closures7:55
- 40Declarative Macros6:56
- 41Procedural Macros11:33
- 42Building a Web Server, Part 116:19
- 43Building a Web Server, Part 220:51
- 44Building a Web Server, Part 38:19
About the Instructor
Let's Get Rusty
YouTube creator
The lessons in this course were produced by Let's Get Rusty and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and Let's Get Rusty 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

Rust for Beginners: Ownership, Structs, Error Handling and Projects
