The Rust Programming Language, 3rd Edition

Paperback
$59.99 US
On sale Mar 31, 2026 | 616 Pages | 9781718504448

See Additional Formats
Building on two successful editions (135,000+ copies sold), this book adds essential updates to a title considered the Rust programming language’s official documentation.

The Rust Programming Language, 3rd Edition is the official guide to Rust 2024 and the latest iteration of one of the bestselling Rust books of all time.

Rust provides control of low-level details along with high-level ergonomics, allowing you to improve productivity and eliminate the hassle traditionally associated with low-level languages.

From web apps to operating systems, Rust is a safe, fast, reliable language used for a wide variety of applications.
Foreword
Preface
Acknowledgments
Introduction

Chapter 1: Getting Started
Chapter 2: Programming a Guessing Game
Chapter 3: Common Programming Concepts
Chapter 4: Understanding Ownership
Chapter 5: Using Structs to Structure Related Data
Chapter 6: Enums and Pattern Matching
Chapter 7: Managing Growing Projects with Packages, Crates, and Modules
Chapter 8: Common Collections
Chapter 9: Error Handling
Chapter 10: Generic Types, Traits, and Lifetimes
Chapter 11: Writing Automated Tests
Chapter 12: An I/O Project: Building a Command Line Program
Chapter 13: Functional Language Features: Iterators and Closures
Chapter 14: More About Cargo and Crates.io
Chapter 15: Smart Pointers
Chapter 16: Fearless Concurrency
Chapter 17: Fundamentals of Asynchronous Programming: Async, Await, Futures, and Streams
Chapter 18: Object-Oriented Programming Features
Chapter 19: Patterns and Matching
Chapter 20: Advanced Features
Chapter 21: Final Project: Building a Multithreaded Web Server

Appendix A: Keywords
Appendix B: Operators and Symbols
Appendix C: Derivable Traits
Appendix D: Useful Development Tools
Appendix E: Editions

Index
Carol Nichols is a member of the Rust Crates.io Team and former member of the Rust Core Team. Nichols is a co-founder of Integer 32, the world’s first Rust-focused software consultancy, and has also organized the Rust Belt Rust Conference.

Chris Krycho is a longtime member of the Rust community, best known for his work on the New Rustacean podcast. He has also led desktop web development for LinkedIn, contributed significantly to Ember.js, and built everything from Bible software to avionics systems.

About

Building on two successful editions (135,000+ copies sold), this book adds essential updates to a title considered the Rust programming language’s official documentation.

The Rust Programming Language, 3rd Edition is the official guide to Rust 2024 and the latest iteration of one of the bestselling Rust books of all time.

Rust provides control of low-level details along with high-level ergonomics, allowing you to improve productivity and eliminate the hassle traditionally associated with low-level languages.

From web apps to operating systems, Rust is a safe, fast, reliable language used for a wide variety of applications.

Table of Contents

Foreword
Preface
Acknowledgments
Introduction

Chapter 1: Getting Started
Chapter 2: Programming a Guessing Game
Chapter 3: Common Programming Concepts
Chapter 4: Understanding Ownership
Chapter 5: Using Structs to Structure Related Data
Chapter 6: Enums and Pattern Matching
Chapter 7: Managing Growing Projects with Packages, Crates, and Modules
Chapter 8: Common Collections
Chapter 9: Error Handling
Chapter 10: Generic Types, Traits, and Lifetimes
Chapter 11: Writing Automated Tests
Chapter 12: An I/O Project: Building a Command Line Program
Chapter 13: Functional Language Features: Iterators and Closures
Chapter 14: More About Cargo and Crates.io
Chapter 15: Smart Pointers
Chapter 16: Fearless Concurrency
Chapter 17: Fundamentals of Asynchronous Programming: Async, Await, Futures, and Streams
Chapter 18: Object-Oriented Programming Features
Chapter 19: Patterns and Matching
Chapter 20: Advanced Features
Chapter 21: Final Project: Building a Multithreaded Web Server

Appendix A: Keywords
Appendix B: Operators and Symbols
Appendix C: Derivable Traits
Appendix D: Useful Development Tools
Appendix E: Editions

Index

Author

Carol Nichols is a member of the Rust Crates.io Team and former member of the Rust Core Team. Nichols is a co-founder of Integer 32, the world’s first Rust-focused software consultancy, and has also organized the Rust Belt Rust Conference.

Chris Krycho is a longtime member of the Rust community, best known for his work on the New Rustacean podcast. He has also led desktop web development for LinkedIn, contributed significantly to Ember.js, and built everything from Bible software to avionics systems.

Books for National Depression Education and Awareness Month

For National Depression Education and Awareness Month in October, we are sharing a collection of titles that educates and informs on depression, including personal stories from those who have experienced depression and topics that range from causes and symptoms of depression to how to develop coping mechanisms to battle depression.

Read more

Horror Titles for the Halloween Season

In celebration of the Halloween season, we are sharing horror books that are aligned with the themes of the holiday: the sometimes unknown and scary creatures and witches. From classic ghost stories and popular novels that are celebrated today, in literature courses and beyond, to contemporary stories about the monsters that hide in the dark, our list

Read more

Books for LGBTQIA+ History Month

For LGBTQIA+ History Month in October, we’re celebrating the shared history of individuals within the community and the importance of the activists who have fought for their rights and the rights of others. We acknowledge the varying and diverse experiences within the LGBTQIA+ community that have shaped history and have led the way for those

Read more