
Rust
Rust gives you speed and memory safety without a garbage collector. Learn ownership and write reliable, efficient programs.
Rust gives you speed and memory safety without a garbage collector. Learn ownership and write reliable, efficient programs.
What You Will Learn
- Variables, types, functions and control flow
- Ownership, borrowing and lifetimes
- Structs, enums and pattern matching
- Error handling with Result and Option
- Collections, traits and generics
- Testing, packages and command-line tools
What You Will Build
- A command-line application
- A small program that processes files
- A tested library published as a package
Who This Course Is For
Developers and ambitious beginners who want safe, fast systems-level programming.
What You Need
A computer and the free Rust toolchain, which the course helps you install.
How The Course Works
Every course on Skills in Minutes is free and follows the same five sections: Beginner, Intermediate, Advanced, Projects and Go pro. Each lesson is short, ends with a quick quiz and a summary, and builds on the one before. You can stop and return at any time.
Where It Can Lead
- Rust developer
- Systems and tooling engineer
- Back-end developer
Results depend on your practice, your goals and your market. This course gives you the skills and a portfolio of practical work to show for it.
Course Outline
Beginner7 lessons
1Your First Rust Program: rustc, cargo and Immutable by Default2Types, Shadowing and Overflow: checked, wrapping and the Debug Panic3Ownership and Borrowing: The Rules That Replace Garbage Collection4Functions, Control Flow, match and Option5Structs, Enums and impl Blocks: Modelling the Turbine6Vec, HashMap and Iterators7Project: The Turbine Statistics ReportIntermediate5 lessons
8Error Handling: Result, the ? Operator and Custom Errors9Traits and Generics: Shared Behaviour Without Inheritance10Lifetimes: How the Compiler Knows a Reference Is Valid11Closures and Iterator Pipelines: map, filter, fold, flat_map and sort_by_key12Project: A CSV Report for the Wind FarmQuestions
Is Rust hard?
Ownership is a new idea and takes practice. The course introduces it slowly with small examples.
Do I need to know C or C++?
No. The course explains what you need.
What is Rust used for?
Command-line tools, services, embedded software and performance-critical code.
Why do people like Rust?
It catches many memory mistakes when you compile, before the program runs.
