Home›Library›Development

Curated Library

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
Lessons byWill Velida on YouTube

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.

20 lessons4h 41m total
One block per lesson, sized by its length

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

About the Instructor

Will Velida

YouTube creator

20 lessons here 4h 41m

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 YouTube

More in the Library: Development