Work through the bridge course for C/C++ programmers to learn Rust ownership and memory safety in familiar terms.
Learn async Rust programming using the dedicated async book with interactive in-browser code examples.
Study advanced Rust type-system techniques through the expert-level book with diagrams and exercises.
Get up to speed on Rust build tools and automated testing using the practical engineering book.
Books are readable online via GitHub Pages with no install, offline use requires Rust and running a local server with two commands.
This repository is a collection of seven free training books for learning Rust, a programming language known for speed and memory safety. Microsoft created them as a structured curriculum that brings together material scattered across blogs, conference talks, and community resources into one place. The books are not an official reference but are designed to teach Rust accurately and in depth. The books are grouped by who they are for. Three of them are bridge courses aimed at people coming from other languages: one for C and C++ programmers, one for C# and Java programmers, and one for Python programmers. Each bridge course teaches Rust concepts in terms familiar to that audience. The other four books go deeper: one covers asynchronous programming, one covers advanced patterns like low-level memory management, one covers expert type-system techniques, and one covers practical engineering topics like build tools and automated testing. Each book has around 15 to 16 chapters and includes diagrams, interactive code examples you can run in a browser, exercises, and full-text search. You can read them online through the GitHub Pages site without installing anything. If you want to read offline or contribute, you clone the repository and run a local server with a couple of commands after installing Rust. The material draws heavily on well-known Rust educators and community resources, all credited in the README. It is aimed at people who already know at least one programming language and want to learn Rust properly, at whatever level they are starting from.
← microsoft on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.