Draft:Comprehensive Rust

  • Comment: In accordance with Wikipedia's Conflict of interest policy, I disclose that I have a conflict of interest regarding the subject of this article. MrtnGslr (talk) 08:39, 31 August 2025 (UTC)



Comprehensive Rust
Original author(s)Google (Android Team)
Initial release2022 (2022)
Repositorygithub.com/google/comprehensive-rust
Written inRust
LicenseApache License 2.0
Websitegoogle.github.io/comprehensive-rust/

Comprehensive Rust is an open-source course on the Rust programming language. It was originally created for internal training within the Android team at Google. The goal was to let experienced software engineers learn Rust quickly. The course materials were made publicly available in 2022.

The course has been adopted by other companies for corporate training and used in university curricula.[1][2][3]

History and Development

[edit]

Comprehensive Rust was created by Google's Android team to help accelerate the adoption of Rust in Android. The effort was motivated by the high percentage of memory safety vulnerabilities in the Android codebase, leading the team to seek a memory-safe language.[4][5] The primary goal was to provide a standardized, instructor-led training program to efficiently transition engineers with existing experience in languages like C++ or Java to Rust.[6] The course was developed and refined internally before being released to the public as an open-source project under the Apache License 2.0.[7]

Format and Content

[edit]

The course is designed for a classroom-based, interactive format. The curriculum is divided into a core module and several specialized deep dives:[8]

  • Rust Fundamentals: 4 days, covers the Rust language.
  • Concurrency in Rust: 1 day, focuses on threads and async Rust.
  • Bare-metal Rust: 1 day, focused on Rust on embedded devices.
  • Rust in Android: 1 day, focused on how to build Android platform code with Rust.
  • Rust in Chromium: 1 day, focused on using Rust to extend the Chromium browser.

The material includes lecture slides, code examples, and hands-on exercises designed to be completed by the students.[9]

Reception and Use

[edit]

The course has received attention from third parties for its depth and application in professional settings. The technology news site Dark Reading featured Comprehensive Rust as a key example of how large companies using in-house training to address the shortage of Rust talent. The article quoted the executive director of the Rust Foundation, who highlighted the scale of Google's course compared to other available training.[1]

Organizations have adopted and adapted the course for their own use. The transportation company Via published an account of how it used Comprehensive Rust as the foundation for its internal training program to teach Rust to its Python developers.[2] The course has also been used in academia; a university instructor documented the process of modifying the curriculum for a five-day university-level class, providing a pedagogical analysis of the material.[3] A joint cybersecurity report from U.S. federal agencies, including the National Security Agency (NSA), identified Google's training materials as one of the main categories of available learning resources for Rust.[10]

Ecosystem Impact

[edit]

The Comprehensive Rust project led to the creation of mdbook-i18n-helpers, an open-source tool developed to facilitate the translation of the course content.[11] The tool provides a gettext-based workflow for internationalizing documentation created with mdBook[12], a common tool in the Rust ecosystem. This tool has since been adopted by other major Rust community projects, such as Rust by Example.[13]

A global volunteer community has translated the course into numerous languages, including Chinese, Japanese, Korean, Spanish, and Ukrainian.[14]

References

[edit]
  1. ^ a b "Seeking Rust Developers, Companies Turn to In-House Training". Dark Reading. 2023-10-02. Archived from the original on 2025-02-19. Retrieved 2025-08-31.
  2. ^ a b "Bringing Rust to Python developers: lessons from our internal training". Via Transportation. 2025-04-07. Archived from the original on 2025-08-06. Retrieved 2025-08-31.
  3. ^ a b "Teaching Rust in 5 days". mo8it.com. 2023-09-08. Archived from the original on 2025-08-21. Retrieved 2025-08-31.
  4. ^ Ron Amadeo (2021-04-07). "Google is now writing low-level Android code in Rust". Ars Technica. Archived from the original on 2021-04-08. Retrieved 2025-08-31.
  5. ^ Geisler, Martin (2024-09-12). Rust Training at Scale (YouTube). RustConf 2024. Retrieved 2025-08-31.
  6. ^ Geisler, Martin (2023-09-21). "Scaling Rust Adoption Through Training". Google Security Blog. Retrieved 2025-08-31.
  7. ^ "Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022". Google Open Source Blog. 2023-06-27. Archived from the original on 2025-08-21. Retrieved 2025-08-31.
  8. ^ "Course Structure - Comprehensive Rust". Google. Archived from the original on 2025-07-14. Retrieved 2025-08-31.
  9. ^ "Welcome to Comprehensive Rust". Google. Archived from the original on 2025-08-31. Retrieved 2025-08-31.
  10. ^ National Security Agency (2025-06-23). Memory Safe Languages: Reducing Vulnerabilities in Modern Software Development (PDF) (Report). U.S. Department of Defense. Archived (PDF) from the original on 2025-07-17. Retrieved 2025-08-31.
  11. ^ "google/comprehensive-rust". GitHub. Retrieved 2025-08-31.
  12. ^ "rust-lang/mdBook". GitHub. Retrieved 2025-08-31.
  13. ^ "TRANSLATING.md - Rust by Example". GitHub. Archived from the original on 2025-08-04. Retrieved 2025-08-31.
  14. ^ "Translations - Comprehensive Rust". Google. Archived from the original on 2025-07-17. Retrieved 2025-08-31.
[edit]

Official website

repository

Category:Rust (programming language) Category:Google software Category:Open-source software