License This project is dual-licensed under the MIT License and Creative Commons Attribution 4.0 International (CC-BY-4.0). Trademarks This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject t Seven training courses covering Rust from different programming backgrounds, plus deep-dives on async, advanced patterns, and engineering practices.
License This project is dual-licensed under the MIT License and Creative Commons Attribution 4.0 International (CC-BY-4.0).
Trademarks This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
Seven training courses covering Rust from different programming backgrounds, plus deep-dives on async, advanced patterns, and engineering practices.
This material combines original content with ideas and examples inspired by some of the best resources in the Rust ecosystem. The goal is to present an in-depth, technically accurate curriculum that weaves together knowledge scattered across books, blogs, conference talks, and video series into a cohesive, pedagogically structured experience.
Disclaimer: These books are training material, not an authoritative reference. While we strive for accuracy, always verify critical details against the official Rust documentation and the Rust Reference.
Crust of Rust seriesPin, and the futures modelPick the book that matches your background. Books are grouped by complexity so you can chart a learning path:
| Level | Description |
|---|---|
| 🟢 Bridge | Learn Rust coming from another language — start here |
| 🔵 Deep Dive | Focused exploration of a major Rust subsystem |
| 🟡 Advanced | Patterns and techniques for experienced Rustaceans |
| 🟣 Expert | Cutting-edge type-level and correctness techniques |
| 🟤 Practices | Engineering, tooling, and production readiness |
| Book | Level | Who it's for |
|---|---|---|
| Rust for C/C++ Programmers | 🟢 Bridge | Move semantics, RAII, FFI, embedded, no_std |
| Rust for C# Programmers | 🟢 Bridge | Swift / C# / Java → ownership & type system |
| Rust for Python Programmers | 🟢 Bridge | Dynamic → static typing, GIL-free concurrency |
| Async Rust | 🔵 Deep Dive | Tokio, streams, cancellation safety |
| Rust Patterns | 🟡 Advanced | Pin, allocators, lock-free structures, unsafe |
| Type-Driven Correctness | 🟣 Expert | Type-state, phantom types, capability tokens |
| Rust Engineering Practices | 🟤 Practices | Build scripts, cross-compilation, CI/CD, Miri |
Each book has 15–16 chapters with Mermaid diagrams, editable Rust playgrounds, exercises, and full-text search.
Tip: Browse the rendered books with sidebar navigation and search at the GitHub Pages site.
Local preview: For offline reading or while contributing (install Rust first):
git clone https://github.com/microsoft/RustTraining.git cd RustTraining cargo install mdbook mdbook-mermaid cargo xtask serve # http://localhost:3000
Install Rust via rustup if you haven't already, then:
cargo install mdbook@0.4.52 mdbook-mermaid@0.14.0
git clone https://github.com/microsoft/RustTraining.git
cd RustTraining
cargo xtask build # Build all books into site/ (local preview)
cargo xtask serve # Build and serve at http://localhost:3000
cargo xtask deploy # Build all books into docs/ (for GitHub Pages)
cargo xtask clean # Remove site/ and docs/
To build or serve a single book:
cd c-cpp-book && mdbook serve --open # http://localhost:3000
The site auto-deploys to GitHub Pages on push to main via .github/workflows/pages.yml. No manual steps needed.
“RustTraining: Beginner, advanced, expert level Rust training material”
“Direct clickable links... — You can directly access the training material by clicking on the links inside README. All: https://microsoft.github.io/RustTraining/ C++: https://microsoft.github.io/RustTraining/c-cpp-book/ …”
“Thread for notable forks... — A Chinese language fork is available here: https://zcg.github.io/RustTraining/”
“Learn From JS/TS? — Which level/bridge should I choose if I'm coming from a programming language like javascript/typescript or ruby?”
“Added a hosted web version of the Rust Training content — I created a hosted version of this Rust training to make it easier for users to access the content without needing to clone the repository and run cargo build eve…”
“SATELLITE”
“The whole "book" seems to be AI-generated, or at least very heavily AI-edited. Would at this point it not be easier to just tell developers to use their LLM of choice to achieve the same (or, likely, better) result? Rand…”
Dev Tools
Cube Sandbox is a high-performance, out-of-the-box secure sandbox service built on RustVMM and KVM. It supports both single-node deployment and easy scaling to multi-node clusters. It is compatible with the E2B SDK and can create a hardware-isolated, fully serviceable sandbox in under 60ms with less than 5MB of memory overhead. CubeSandbox 0.3.0 introduces the CubeCoW Copy-on-Write snapshot engine, enabling event-level snapshots, instant cloning, and rollback to any saved state. Patched CVE-2023-50711 and other vulnerabilities, aligned default ports with the E2B protocol, and shipped critical stability fixes. Cube Sandbox is now open source! Millisecond boot, hardware-level isolation, E2B-compatible sandbox for AI Agents In the context of AI Agent code execution, CubeSandbox achieves the
Dev Tools
A fresh Substrate node, ready for hacking :rocket: A standalone version of this template is available for each release of Polkadot in the Substrate Developer Hub Parachain Template repository. The parachain template is generated directly at each Polkadot release branch from the Solochain Template in Substrate upstream It is usually best to use the stand-alone version to start a new project. All bugs, suggestions, and feature requests should be made upstream in the Substrate repository.
Dev Tools
Desktop application for running and monitoring Quip network nodes. Supports Docker and native execution modes on macOS, Linux, and Windows. irm https://gitlab.com/quip.network/quip-node-manager/-/raw/v0.2.0/scripts/install.ps1 | iex Download the latest release from the Releases page.
Dev Tools
This is an issues-only repo for Warp where you can submit issues, bugs and feature requests. We built Warp to solve two problems we kept hitting as a team writing software: terminals haven't kept up with how developers work today, and agentic development tools don't scale beyond your laptop. Warp is a modern terminal built for coding with agents. Warp brings the terminal into the 21st century with modern UI and code editing features. Use Warp’s SOTA built-in agent Oz, or run CLI coding agents like Claude Code, Codex, or Gemini CLI.