Start with the book

Start here

The Rust Programming Language

Affectionately known as “the book”, this is the official, free guide that takes you from your first program to a confident, idiomatic Rustacean — with clear examples and no assumed background in systems programming.

Read the book
Pick your path

Learning paths

Choose the route that matches where you are today. Each one is curated so you always know the next best step.

New to programming

Never written code before? Start gentle. You will build real, runnable programs from chapter one and learn the ideas behind them as you go.

Experienced developer

Coming from another language? Skip the basics and dive straight into ownership, traits, and the patterns that make Rust feel natural fast.

Embedded & systems

Working close to the metal? Learn to bring memory safety and fearless concurrency to microcontrollers and low-resource devices.

Learn by doing

Guides and examples

Reading gets you started; writing code makes it stick. These resources let you learn by running, breaking, and fixing real Rust.

Rust by Example

A collection of runnable examples that illustrate every concept in Rust, from hello world to generics and macros. Read, edit, run.

Rustlings

Small, hands-on exercises that teach you by fixing the compiler's own hints. A delightful, bite-sized way to build muscle memory.

Standard library docs

The complete, searchable reference for everything Rust ships with — types, traits, and APIs, each with examples you can trust.

Your first program

Hello, world!

Every Rust journey starts the same way. Save this as main.rs, then run rustc main.rs && ./main and watch it greet you back.

fn main() {
    println!("Hello, world!");
}

That is it — no setup, no boilerplate. From here, the compiler becomes a patient teacher that points out exactly what to try next.

You are not alone

Where to get help

Rust has one of the friendliest communities in software. When you get stuck, real people are ready to help — usually within minutes.

Ask the community

Browse the forums, chat with other learners, and get unstuck fast.

Visit the community

Users forum

Thoughtful answers to real questions, archived for the next person.

Ask on the forum

Read more

Explore the wider documentation and tooling that support your learning.

See the tools
Get help!

Stuck? The community has you covered

Ask on the users forum, chat with the community, or search the documentation. Thousands of Rustaceans are happy to help.