The Rust Programming Language, 2nd Edition (Paperback)

The Rust Programming Language, 2nd Edition By Steve Klabnik, Carol Nichols Cover Image
$49.99
Usually Ships in 1-5 Days

Description


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 compiler
  • Smart pointers and multithreading, and how ownership interacts with them to enable fearless concurrency
  • How to use Cargo, Rust’s built-in package manager, to build, document your code, and manage dependencies
  • The 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.

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.

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.

Praise For…


"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

"The Rust Programming Language, 2nd Edition, is 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. The project chapters are a particularly clever way to apply the material to real world programs, and the specific projects in them are well-chosen to avoid toy problems without being overwhelming. 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. . . . this edition won't disappoint and is an excellent addition to a programmer's personal library."
Jared Wolff, Owner, Circuit Dojo LLC


Product Details
ISBN: 9781718503106
ISBN-10: 1718503105
Publisher: No Starch Press
Publication Date: February 28th, 2023
Pages: 560
Language: English

Audiobooks

Digital Audio Books

Get a Gift Card

Gift Cards

Nine Stores in Sonoma, Napa and Marin Counties

Petaluma Store

140 Kentucky Street
707-762-0563
click for hours & info



Petaluma 
Underground

140 Kentucky Street
707-782-0228
click for hours & info



Sebastopol Store

138 N.Main Street
707-823-2618
click for hours & info



Santa Rosa Store

(Montgomery Village)
775 Village Court
707-578-8938
click for hours & info



Healdsburg Store

104 Matheson Street
707-433-9270
click for hours & info



Napa Store

1300 First Street, Suite 398
707-252-8002

click for hours & info



Calistoga Store

1330 Lincoln Avenue
707-942-1616
click for hours & info



San Rafael Store

1200 4th Street
415-524-2800

click for hours & info



Novato Store

999 Grant Avenue
Suite 105
(415) 763-3052
click for hours & info



Larkspur Store
2419 Larkspur Landing Circle
(415) 870-9843
click for hours & info

Headquarters (Offices)

139 Edman Way 
Sebastopol
707-823-8991
click for hours & info