Skip to content
Browse the library
LEARN / A CURATED COLLECTION

Learn Rust with books, examples and exercises

Combine Rust explanations with runnable examples and exercises. Compare books, a course, design guidance, and a focused procedural-macro workshop.

Pair an explanation with a small program

Use The Rust Programming Language for an extended explanation, Rust By Example for annotated examples, and Rustlings for exercises. Read one concept, write or change a small program, and explain a compiler error before moving on.

Comprehensive Rust is a course developed for experienced programmers. Its README describes a classroom setting and notes the limits of self-study without the surrounding discussion. Check that format against your background before choosing it.

Choose specialized references for a specific problem

Rust Design Patterns helps you investigate design choices. The Procedural Macros Workshop focuses on macro projects and a test-driven workflow. Read the workshop prerequisites before attempting it; use the language book or examples when the missing knowledge is more general.

How this collection is selected

These catalog entries are books, courses, exercises, or instructional references about Rust. Application frameworks are excluded to keep the collection focused on learning the language.

Selection notes updated . Popularity metrics, when available, show their own snapshot date.

Compare the starting points

Choose a resource by task, prerequisites, and limitations
ResourceUse it forPrerequisitesBefore you start
The Rust Programming LanguageA book-length explanation of the Rust language.Follow the book’s installation and getting-started chapters.Reading is only part of the work; compile and modify examples to check understanding.Source 1
Rust By ExampleLearning through annotated runnable examples.Read the selected example and use its documented environment.An example may need more explanation than a short page supplies; use a fuller reference when needed.Source 1
RustlingsPractising Rust through small exercises.Follow the current Rustlings setup.The project recommends using exercises alongside the Rust book rather than replacing explanations.Source 1
Comprehensive RustA classroom-shaped course for experienced programmers.Bring prior programming experience and read the course-format notes.The README notes that independent study misses classroom questions and discussion.Source 1
Rust Design PatternsInvestigating Rust design patterns and idioms.Be able to read the relevant Rust examples.A reference on patterns is not a sequential introduction to all language features.Source 1
Procedural Macros WorkshopImplementing focused procedural-macro projects.Read the workshop’s suggested prerequisites.This is specialized practice; inspect its project recommendations and test harness before starting.Source 1

Questions before choosing

Should I read the book before doing exercises?

You can combine the two: read a concept, attempt a related exercise, and return to the explanation when a compiler error reveals a gap. Rustlings explicitly recommends accompanying the Rust book.

Is Comprehensive Rust a first programming course?

Its README describes an audience of experienced software engineers. Use that audience statement when deciding whether the course matches your background.

Original sources

6 resources · 34 topics · 11 collections
Latest star snapshot

Repository directory

Browse the wider topic: Rust