Skip to Main Content (Press Enter)
The Rust Programming Language, 2nd Edition by Steve Klabnik and Carol Nichols
Add The Rust Programming Language, 2nd Edition to bookshelf
Add to Bookshelf

The Rust Programming Language, 2nd Edition

Best Seller
The Rust Programming Language, 2nd Edition by Steve Klabnik and Carol Nichols
Paperback $49.99
Feb 28, 2023 | ISBN 9781718503106

Buy from Other Retailers:

See All Formats (1) +
  • $49.99

    Feb 28, 2023 | ISBN 9781718503106

    Buy from Other Retailers:

  • Feb 28, 2023 | ISBN 9781718503113

    Buy from Other Retailers:

Product Details

Praise

The Rust Programming Language has always been, and continues to be, the first place I point anyone looking to learn Rust. It’s referred to simply as “The Book”, and with good reason — it’s comprehensive and elaborate, yet friendly and thoughtful, and serves as a guide not only to the language itself, but to the principles and mental models that Rust encourages its users to adopt. The 2nd edition is a reflection of the ongoing love for the book in the community, and ensures that it will remain a solid introduction to the best Rust has to offer for years to come.”
—Jon Gjengset, author of Rust for Rustaceans

“The Rust Programming Language, 2nd Edition has been improved, refined, and still remains *the book* to get started with learning Rust. Whether an experienced or a new Rustacean it’s an invaluable resource on how Rust works.” 
—Michael Gattozzi, Senior Software Engineer at Fastly

“A great resource for mastering Rust’s fundamentals. Rust is a language that rewards a deep understanding of its features, from ownership rules to pattern matching, and this book is an excellent tool to achieve that. . . . If you’re thinking about seriously learning Rust, this book is for you.”
—Adam Vartanian, Engineering Manager at Cord

“From a person who read the first edition front to back, the second edition of The Rust Programming Language met and exceeded my expectations! It’s well-written and formatted to help introduce the reader to all the concepts of Rust. . . . Overall, this edition won’t disappoint and is an excellent addition to a programmer’s personal library.” 
—Jared Wolff, Owner, Circuit Dojo LLC

“Verdict: Recommended”
—Paul Floyd, CVu Magazine

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: Object-Oriented Programming Features
Chapter 18: Patterns and Matching
Chapter 19: Advanced Features
Chapter 20: 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

Looking for More Great Reads?
21 Books You’ve Been Meaning to Read
Back to Top