Hysen Labs
Open-source project
google/comprehensive-rust avatar
google

comprehensive-rust

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.

33,308 stars2,064 forksRustApache-2.0
01
DEEP OPEN-SOURCE ANALYSIS

Comprehensive Rust: Google's in house course, opened up

Comprehensive Rust is the multi day Rust course the Android team uses at Google. The README is aimed at people who want to teach it to their own teams, and it is honest about why self study is the weaker option.

02
DEEP OPEN-SOURCE ANALYSIS

Where it comes from

The repository is the source for a multi day Rust course developed by Google's Android team. It covers Rust from basic syntax through generics and error handling, with deep dives into Android, Chromium, bare metal, and concurrency. The course teaches experienced software engineers, typically people coming from C++ or Java, which shapes the pace and the assumptions.

03
DEEP OPEN-SOURCE ANALYSIS

Classroom first

The course runs in a classroom, and the README is upfront that self study loses something. You miss the discussions, the questions and answers, and the compiler errors that come up live when going through the code samples. The stated hope is to improve the self study experience with speaker notes and published videos, which has not happened fully yet.

04
DEEP OPEN-SOURCE ANALYSIS

The tools

Setup involves installing Rust through rustup and Bazel through Bazelisk. A cargo xtask wrapper handles the rest: serving the course on localhost:3000, testing the embedded Rust snippets, running web driver tests, and building a static version into a book directory. Translated editions exist, with a language flag for the target, Danish being the example given.

05
DEEP OPEN-SOURCE ANALYSIS

Proof it works

A press section lists external coverage: a five day university class built on the course, a blog post about scaling Rust adoption through training, an article about companies turning to in house Rust training, and a conference talk on what Google learned teaching the course for more than two years. The licensing is split, Apache-2.0 for code and Creative Commons for the documentation.

07
DEEP OPEN-SOURCE ANALYSIS

Official sources

08
Community notes

Community notes