Resources
This page is currently a work-in-progress, but will eventually be home to a sizable, well-curated set of Rust education resources for educators and students alike. If you would like to contribute to this list, please open a pull request!
Books
- The Rust Programming Language — Steve Klabnik and Carol Nichols. The official Rust programming book.
- Programming Rust — Jim Blandy, Jason Orendorff, and Leanora F. S. Tindall. Comprehensive Rust textbook with an emphasis on systems programming.
- The Rust way of programming (Rust 编程之道) — Handong Zhang (张汉东). A Chinese Rust programming book. Helps Rust learners build a comprehensive Rust knowledge architecture.
Exercises
- Rustlings — Collection of Rust exercises to be worked through on a user's local machine.
Examples
- Rust By Example — Collection of Rust code snippets which exemplify various Rust programming concepts.
Teaching and Training
- Comprehensive Rust 🦀 — A 3-day course on Rust, covering everything from basic syntax to more advanced topics such as generics, error handling, and unsafe Rust. Also includes 'deep-dive' content on Chromium, Bare-metal and Concurrency.
- Rust 101 (Tweede Golf) — Modular course materials for teaching Rust. Organized as four tracks: Rust Language Introduction, Rust for the Web, Rust for Systems Programming, Scientific Rust.
- Rust 101 (Ralf Jung) — This course covers core Rust in detail, including advanced concepts.
University courses
Courses that universities teach, or have taught, in Rust, each with its public page: a place to see how others teach it, and whom to ask. If you teach a course in Rust, please add it here, or tell us on Zulip.
- 98-008: Intro to Rust Lang — Carnegie Mellon University. A student-taught course (StuCo) for a general audience, from the borrow checker to parallelism and
unsafe; its lectures and homework are public. - CS431: Concurrent Programming — KAIST. The theory of concurrency and its practice in Rust, from locks to lock-free data structures, with public homework and lecture videos.
- Embedded Rust 101 (Wyliodrin & Politehnica Bucharest) — The embedded systems course delivered in Rust using the Raspberry Pi Pico 2 at the Politehnica University of Bucharest.
- CS 423/523: Rust Programming — Portland State University. Bart Massey's course for undergraduate (423) and graduate (523) students; its example code is public.
- CS 110L: Safety in Systems Programming — Stanford University. A companion to CS 110 on how program analysis finds common bugs in systems code, and how Rust helps to build robust systems software.
- COMP6991: Solving Modern Programming Problems with Rust — UNSW Sydney. Uses Rust to study ideas found across programming languages, such as typing, polymorphism, testing, metaprogramming, concurrency and safety.
- CMSC388Z: Programming in Rust — University of Maryland, Fall 2021. How to program effectively in Rust, with a project of their choice that students build in small groups.
- CIS 1905: Rust Programming — University of Pennsylvania. The ideas beyond Rust's syntax, such as ownership, memory safety and data-race-free parallel programming, and the trade-offs behind them; formerly CIS 198.
- ECE1724: Performant Software Systems with Rust — University of Toronto. Baochun Li's course on building performant software systems in Rust, through three programming assignments.
- cs4414: Operating Systems — University of Virginia, 2013 and 2014. David Evans's operating systems course, an early one taught in Rust, from before Rust 1.0.
- ECE 459: Programming for Performance — University of Waterloo. Profiling, multicore programming, cache consistency and vectorization, taught in Rust rather than in C and C++; its lecture notes are public.
Collected learning materials
- rust-learning — This is a curated collection of Rust blog posts, videos, etc focused on learning Rust.
- The Little Book of Rust Books — Glyn Normington. A catalogue of books about Rust: the official books of the Rust project, unofficial ones, and books on using Rust for specific kinds of applications.
By topic
Asynchronous
- Asynchronous Programming in Rust — Comprehensive, up-to-date guide to using Rust's async language features and libraries.
- Comprehensive Rust 🦀: Concurrency — A full-day course covering thread-based and async/await-based concurrency.
Embedded
- The Embedded Rust Book — Introductory book about using the Rust Programming Language on Bare Metal embedded systems, such as Microcontrollers.
- Comprehensive Rust 🦀: Bare Metal — A full-day course on using Rust for embedded development in a
no_stdenvironment. Covers both microcontrollers and application processors. - Awesome Embedded Rust — Curated list of resources related to embedded and low-level programming in the programming language Rust.
- The Rust on ESP Book — Comprehensive guide on using Rust with Espressif SoCs and modules.
- Embedded Rust on Espressif — Training Material for learning to use Embedded Rust with the Espressif ESP32-C3.
Unsafe
- The Rustonomicon — The Rustonomicon digs into all the awful details that you need to understand when writing Unsafe Rust programs.