Comprehensive Rust is an open-source, multi-day Rust programming course developed by Google’s Android team.
It provides an in-depth exploration of Rust, covering foundational concepts like syntax, ownership, and error handling, as well as advanced topics such as concurrency, generics, and bare-metal programming.
Designed for experienced software engineers with backgrounds in C++ or Java, the course is primarily delivered in classroom settings to facilitate interactive learning and discussions.
The course is built and managed using a suite of tools that streamline content creation, testing, and delivery:
To get started, users must first install Rust via rustup.rs. After cloning the repository (git clone https://github.com/google/comprehensive-rust/
), they can install the necessary tools using a provided script (install-mdbook.sh
). The workflow includes:
mdbook test
to validate all embedded Rust examples.mdbook serve
to start a local web server at http://localhost:3000
for previewing the course.mdbook build
command generates a static version of the course in the book/
directory. Exercises need to be separately compiled and added to the output directory.For translated versions, users can build specific language editions using environment variables like MDBOOK_BOOK__LANGUAGE=xx
, where xx
represents an ISO 639 language code.
Contributions are welcomed via GitHub following the guidelines in CONTRIBUTING.md
. For inquiries or feedback, Martin Geisler can be contacted, or discussions can be initiated on GitHub.
What Are Bash Comments? In Bash scripting, comments are notes in your code that the…
When you write a Bash script in Linux, you want it to run correctly every…
Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…
What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…
When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…
Learn how to create and use Bash functions with this complete tutorial. Includes syntax, arguments,…