Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

google/comprehensive-rust

Learning ResourcesLearn to code

A multi-day Rust course for experienced engineers, covering syntax, generics, error handling, and Android, Chromium, bare-metal, and concurrency deep dives.

33,637
2,114
Rust
Apache-2.0
3 years old

What it is

Comprehensive Rust is a multi-day Rust course developed by Google's Android team and used internally to teach experienced software engineers, typically those with C++ or Java backgrounds. It spans basic syntax through generics and error handling, with dedicated deep dives on Android, Chromium, bare-metal, and concurrency. The repository holds the course source; the rendered course is published at the course site.

The material is designed for classroom delivery by an instructor. Self-study is possible but less ideal, since readers miss live Q&A and the compiler errors demonstrated during sessions. The author has acknowledged this gap and points self-learners to other Rust resources.

Getting the course

The easiest path is to read the published course online. To build it locally, install Rust via rustup and Bazel via Bazelisk, then:

git clone https://github.com/google/comprehensive-rust/
cd comprehensive-rust
cargo xtask install-tools
cargo xtask serve

The site is then served at http://localhost:3000. Add -l xx (an ISO 639 language code) to serve a translation, e.g. cargo xtask serve -l da. To produce a static book, run cargo xtask build, which writes to book/; exercises must be built and zipped separately and added under book/html.

Constraints and caveats

Building requires Rust and Bazel toolchains; cargo xtask install-tools pins the mdbook-related tools. On Windows, enable symlinks (git config --global core.symlinks true) and Developer Mode before building. Source code and embedded examples are Apache-2.0; Markdown, documentation, and images are CC BY 4.0. Course content assumes an instructor-led setting, so exercises and examples work best with accompanying discussion.

HotRepo's take

A large-scale HN discussion in May 2023 (383 points, 72 comments) captured the central tension: commenters called it an excellent resource but noted that a self-learner lacks the lecturer, and the course author confirmed it is intended for classroom training author's replyreader's reaction. The repo's 33k+ stars and a Rust-language daily best position of 2 recorded on 2026-12-05 (9 stars gained that day) show sustained attention, but the course's design point remains instructor-led team training rather than a standalone beginner book.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

Hacker News

Comprehensive Rust: course used by the Android team at Google
▲ 383 · 72 comments · May 23, 2023
Comprehensive Rust - a multi-day Rust course developed by the Android team
▲ 3 · 1 comment · May 29, 2025
Rust course used by the Android team at Google
▲ 3 · 0 comments · January 3, 2023

You might also like

  1. krahets/hello-algoA free, animated data-structures-and-algorithms course for beginners, with runnable code in 12+ languages.Java131,082
  2. datawhalechina/easy-vibeA hands-on course that takes non-programmers from a first idea to a shipped AI-built product.JavaScript20,147
  3. luongnv89/claude-howtoA structured, template-heavy tutorial path for developers who installed Claude Code and don't know what to learn next.Python44,327