The Rust Programming Language

Official free book that teaches the Rust language from first steps

88.0
Score in best programming books
Check doc.rust-lang.org (opens in a new tab)AlternativesCompareShare

Opens the official site in a new tab. Check current plans and terms there; nothing is purchased on listme.name.

Ranked 8 of 11 in best programming books

The official, free and current guide to Rust, with worked examples and offline access after installation. It covers one language only, which limits it to readers learning Rust.

Best for Learning Rust with the official guide

About The Rust Programming Language

The book introduces Rust through chapters on ownership, types, error handling, generics, traits, lifetimes, concurrency and a final project. Its examples are small programs that readers build and run with Cargo, Rust's build tool. The chapters are designed to be read in order, so each concept builds on the last.

The site says the text uses the 2024 edition of Rust and assumes Rust 1.97.0 or later, so it stays current with the language. It is free to read and maintained by the Rust project. Readers new to systems programming will find it a clear route into the language, though the ownership model takes practice before it feels natural.

Key features

  • Ownership and borrowing
  • Traits and generics
  • Concurrency
  • Cargo build tool

Strengths

  • Official, free and kept current with Rust
  • Explains ownership with worked examples
  • Available offline after installation

Limits

  • Tied to the current Rust toolchain versions
  • Covers Rust only, not general programming

Where The Rust Programming Language ranks

How The Rust Programming Language compares

ProductScorePriceFormatsLevelFree to read onlineLatest editionMain focus
#6Software Engineering at Google89.0FreeRead online, PrintIntermediateYesFirst edition, 2020Engineering practice for large codebases
#7Fluent Python88.5PaidPrintIntermediateNo2nd editionIdiomatic, effective Python code
#8The Rust Programming Language88.0FreeRead onlineBeginnerYesUpdated for Rust 1.97The Rust language and ownership
#9Refactoring: Improving the Design of Existing Code86.5PaidPrintIntermediateNo2nd edition, 2018Improving code design in small, safe steps
#10Think Python, 3rd Edition83.5FreeRead online, PrintBeginnerYes3rd editionPython for complete beginners

The full comparison table for best programming books has all 11 products.

Questions about The Rust Programming Language

Is The Rust Programming Language free?
The Rust Programming Language can be used without paying: Free online and offline with the Rust installation. Check the vendor’s pricing page for current limits.
Which formats is The Rust Programming Language available in?
The Rust Programming Language is offered as Read online.
What is The Rust Programming Language best for?
Learning Rust with the official guide. In our ranking of programming books it is number 8 of 11 with a score of 88.0.
What are the best alternatives to The Rust Programming Language?
The highest-ranked alternatives on listme.name are Designing Data-Intensive Applications, The Pragmatic Programmer, 20th Anniversary Edition, Structure and Interpretation of Computer Programs, Crafting Interpreters.

Show this ranking on your site

If you make or maintain The Rust Programming Language, this badge links back to this page and shows its current rank. It updates when the ranking does.

Ranked #8 of 11 programming books on listme.name
<a href="https://listme.name/books/rust-programming-language"><img src="https://listme.name/badge/rust-programming-language.svg" height="28" alt="Ranked #8 of 11 programming books on listme.name"></a>