Get a solid foundation in the powerful and efficient Rust programming language with core language concepts, syntax, tooling, and best practices. Learn Rust basics like variables, data types, control flow, and ownership rules. Then, move on to advanced concepts, including structs, enums, traits, lifetimes, and concurrency. The course also explains how to use powerful tools like rust-analyzer, development and debugging techniques, string manipulation, error handling, and more. Plus, learn about leveraging AI pair programming with GitHub Copilot, Rust coding best practices for readability and performance, building and documenting your own libraries using Cargo, and techniques for writing safe, concurrent, and lock-free code
Whether you’re starting as a total beginner or experienced programmer, check out this course to master Rust to build reliable, high-performance software.
Note: This course was created by Pragmatic AI Labs. We are pleased to host this training in our library.
01 - Introduction 01 - Meet your course instructor Alfredo Deza
02 - About this course
02 - 1. Installing Rust and Setting Up Your Text Editor 01 - Overview of installing Rust
02 - Demo Installing Rust
03 - Demo Visual Studio Code
04 - Demo Enabling the rust-analyzer
05 - Demo Using the rust-analyzer
06 - Demo Synchronizing your settings
07 - Summary of installing Rust and Visual Studio Code
03 - 2. Using AI Pair Programming with GitHub Copilot 01 - Overview of using GitHub Copilot
02 - Demo Signing up for GitHub Copilot
03 - Demo Installing and enabling Copilot in Visual Studio Code
04 - Demo Programming with suggestions
05 - Demo Using prompts with Copilot
06 - Demo Copilot X and chat-based learning
07 - Summary
04 - 3. Introduction to Codespaces 01 - Overview of Codespaces
02 - Demo Fundamentals of Codespaces
03 - Demo Understanding usage and quotas
04 - Demo Basics of dev containers
05 - Demo Customizing the editor
06 - Demo Customizing the environment
07 - Summary of Codespaces
05 - 4. Introduction to Rust 01 - Introduction to Rust
02 - Demo Create a new Rust project
03 - Demo Overview of project files
04 - Demo Basic components of Rust code
05 - Demo Variable assignment and immutability
06 - Demo Basics of control flow
07 - Demo Shadowing variables
08 - Summary of introduction to Rust
06 - 5. Loops and Control Flow 01 - Introduction to loops and control flow
02 - Demo Introduction to loops in Rust
03 - Demo Conditional statements in Rust
04 - Demo The while loop in Rust
05 - Demo The for loop in Rust
06 - Demo The break and continue statements
07 - Demo The match control flow in Rust
08 - Summary of loops and control flow
07 - 6. Function Basics 01 - Introduction to function basics
02 - Demo Simple unit functions
03 - Demo Return values
04 - Demo Using arguments
05 - Demo The borrowing concept
06 - Demo Using panic to stop a program
07 - Demo Basic error handling with match
08 - Summary of function basics
08 - 7. Using Structured Data 01 - Introduction to structured data
02 - Demo Defining structs
03 - Demo Creating struct instances
04 - Demo Associated functions and constructors
05 - Demo Other struct uses
06 - Summary of structured data
09 - 8. Exploring Strings and Vectors 01 - Introduction to strings and vectors
02 - Demo Understanding string and str
03 - Demo Getting started with Rust string manipulation
04 - Demo Basics of vectors
05 - Demo Retrieving values from vectors
06 - Demo Adding elements to vectors
07 - Summary of strings and vectors
10 - 9. Working with Enum and Variants 01 - Introduction to enums and variants
02 - Demo Defining an enum
03 - Demo Using enum as a type
04 - Demo The option enum
05 - Demo Applied enums
06 - Demo Using vectors with enums
07 - Demo Exhaustive matches
08 - Summary of enums and variants
11 - 10. Building a Real-World Library 01 - Introduction to libraries and Cargo
02 - Demo Creating the library with Cargo
03 - Demo Adding code to lib
04 - Demo Documenting your code
05 - Demo Using a debugger
06 - Demo Using a makefile
07 - Summary of libraries and Cargo
12 - 11. Extending Functionality with Modules 01 - Introduction to modules
02 - Demo Using Cargo for dependencies
03 - Demo Extending with modules
04 - Demo Verify code with doctest
05 - Demo Defining public and private modules
06 - Demo Private and public fields in structs
07 - Summary of modules
13 - 12. Testing Rust Code 01 - Introduction to testing
02 - Demo Organizing test files
03 - Demo Introduction to testing in Rust
04 - Demo Writing tests for your code
05 - Demo Testing private code
06 - Demo Using test failure messages
07 - Summary of testing