


With over 50,000 copies sold, The Rust Programming Language is the quintessential guide to programming in Rust. Thoroughly updated to Rust’s latest version, this edition is considered the language’s official documentation.
The Rust Programming Language “covers everything you could want to know about the language.”—Stack Overflow
Rust has been repeatedly voted “Most Loved Language” on the StackOverflow Developer Survey.
The Rust Programming Language, 2nd Edition is the official guide to Rust 2021: an open source systems programming language that will help you write faster, more reliable software. 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.
Klabnik and Nichols, alumni of the Rust Core Team, share their knowledge to help you get the most out of Rust’s features so that you can create robust and scalable programs. You’ll begin with basics like creating functions, choosing data types, and binding variables, then move on to more advanced concepts, such as:
Ownership and borrowing, lifetimes, generics, traits, and trait objects to communicate your program’s constraints to the compilerSmart pointers and multithreading, and how ownership interacts with them to enable fearless concurrencyHow to use Cargo, Rust’s built-in package manager, to build, document your code, and manage dependenciesThe best ways to test, handle errors, refactor, and take advantage of expressive pattern matching
In addition to the countless code examples, you’ll find three chapters dedicated to building complete projects: a number-guessing game, a Rust implementation of a command line tool, and a multithreaded server.
From the Publisher




About the Author
Carol Nichols is a member of the Rust Community Team and a former member of the Rust Core Team. Also active in the Ruby community, she was a key organizer of the Steel City Ruby Conference 2012-2014.

About the Author
Steve Klabnik is the Community Team Leader for the Rust team at Mozilla, in charge of official Rust community documentation, as well as a trusted Rust community advocate. Klabnik is a frequent speaker at conferences and one of the world’s most prolific contributors to Rails projects.

About the Author
Chris Krycho is a software engineering leader with experience in avionics, developer tools, web frameworks, and more. In addition to his open source software contributions and regular public speaking, he created the New Rustacean podcast (2015–2019).




About the Publisher
No Starch Press has published the finest in geek entertainment since 1994, creating both timely and timeless titles like Python Crash Course, Python for Kids, How Linux Works, and Hacking: The Art of Exploitation. An independent, San Francisco-based publishing company, No Starch Press focuses on a curated list of well-crafted books that make a difference. They publish on many topics, including computer programming, cybersecurity, operating systems, and LEGO. The titles have personality, the authors are passionate experts, and all the content goes through extensive editorial and technical reviews. Long known for its fun, fearless approach to technology, No Starch Press has earned wide support from STEM enthusiasts worldwide.
Publisher : No Starch Press
Publication date : February 28, 2023
Edition : 2nd
Language : English
Print length : 560 pages
ISBN-10 : 1718503105
ISBN-13 : 978-1718503106
Item Weight : 13 ounces
Dimensions : 7 x 1.19 x 9.25 inches
Best Sellers Rank: #31,266 in Books (See Top 100 in Books) #1 in Object-Oriented Software Design #17 in Software Development (Books) #27 in Programming Languages (Books)
Customer Reviews: 4.8 4.8 out of 5 stars (510) var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });
13 reviews for The Rust Programming Language, 2nd Edition
Add a review
Original price was: $49.99.$29.61Current price is: $29.61.

OB1Jakobi –
Amazing Programming Reference
This is one of the best programming references I’ve come across. Be warned, this book is not for someone new to programming, since many of the topics covered involve intermediate to advanced issues that rust utilizes to overcome many of the issues facing older, C-family programming.The method of instruction is my personal favorite: you’re given a problem or issue, then you explore a natural process for solving the problem in rust. Multiple solutions are discussed, often ranging through various aspects of the language where you fine tune your approach until you eventually get to the ideal solution. Each chapter builds off the information mentioned in previous chapters, so unlike other programming references, where you can skip around, this book can actually be read from cover to cover.For anyone who prefers books for learning programming, I’d highly recommend this book. It’s accessible, clear & concise, and meets the standard that I’ve come to expect regarding No Starch Press as a publisher.
Simonas –
Great book on Rust for beginners
Great material to learn from
Jimmy G –
Great introduction to RUST
Excellent doc for a new introduction to RUST. Well thought out. Does a great job of explaining RUST to a programmer who already knows other languages like c++.
Eric –
The Rust Book to Get.
This is The Main Rust Book! It is Comprehensive and Thorough. A New Version is Coming Out , I Can’t Wait 🙂
Gnoman –
Well written, easy to get up and going
I’ve developed for about 35 years, so this book was maybe a little too ‘easy’, but it was fairly simple to bomb through in a few days, and get a good feel for Rust and a sense of how to use it. I preferred this to the online version with the exercises — that was just a bit too confining, as I flip back and forth in the book to reference earlier read stuff and forward to find more complex challenges. The style was very matter of fact, not too slow, nor too fast.I’d definitely recommend this book in either hard copy or the online version to anyone interested in picking up some Rust bonafides. It’s a good jumping off point whether you’ve got one language in your arsenal or ten.
qqq –
A Friendly Introduction to Rust
I picked up this book because I was interested in learning Rust and it has single handedly converted me into a Rustacean. The welcoming ethos of the Rust community was fully present throughout the book making it a particularly enjoyable read. The hands on projects do a great job of putting the concepts and theory into practice. It’s an absolute essential for anyone starting their Rust journey. It does a great job of laying a solid foundation while also touching on the more advanced features of the language beginners will encounter in the real world. My only critique would be that it doesn’t go too deep into the more advanced concepts of Rust, so more advanced Rustaceans won’t get too much out of this book. However, I recognize that advanced Rustaceans are not the intended audience.
Kenzie G. –
Made my kid transgender.
My kid’s in college for computer science, and asked for this book. I found out later it wasn’t for any class, but because she wanted it. She also started hormones at the time.I have no clue what computer science and “The Rust Programming Language” have to do with transgender, but she keeps telling me they’re related somehow.Whatever, kid. If you’re happy, I’m happy. And if this book helped you be happy, it’s an easy 5 stars.
Alain Busser –
a must
The description of a programming language by people who actually created the language
João Cardoso Dias –
Excelente para quem está começando a aprender Rust
George Snow –
Love the book, I hate that the books back cover was damaged. I am not going to send bad, I just taped the back cover. Amazon this is the second item in two days damaged.
Roland –
Very nice reference book to learn Rust.
fgokmenoglu –
Easy to follow, very informative!
Thomas –
Plus pratique que la version en ligne.Super livre pour bien commencer.