
The Rust Programming Language, 2nd Edition
A practical route from Rust’s basics to ownership, concurrency, testing, and complete projects.
- Themes
- Rust programming, Systems programming, Concurrency
Rust in Practice
Come here for
- Clear explanations of Rust’s ownership model and compiler-facing concepts
- A language that pairs low-level control with high-level ergonomics
Expect
- Progression from functions and data types to advanced Rust features
- Code examples and three complete projects
Where it sits
How strongly BookFrontier reads the book as belonging to each subject.
Nearest books
Matched by our semantic model. Ordered by what its readers also loved. Most of these share its genre: Programming Basics.
Designing Data-Intensive ApplicationsMartin Kleppmann49% subject match
Programming RustJim Blandy, Jason Orendorff71% subject matchAlso shares Programming Languages
Effective CRobert C. Seacord53% subject match
C Programming LanguageDennis Ritchie, Brian W. Kernighan59% subject match
The Go Programming LanguageAlan A. A. Donovan, Brian W. Kernighan56% subject matchAlso shares Programming Languages
Python Crash Course, 3rd EditionEric Matthes52% subject match
Effective Modern C++Scott Meyers53% subject match
Go in Practice, Second EditionNathan Kozyra, Matt Butcher50% subject matchAlso shares Programming Languages
For younger readers: Python for Kids, 2nd Edition, Python for Kids
Start with three books, and this one can be the first.
Members get a new edition every morning: a route out from their books to essays, research and talks, with the reason for each.
Sign upAbout this book
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.
Continue reading
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.
Publisher details
Publisher categories
- Programming Languages
- Object-Oriented Programming
- Open Source Development
- Authors
- Steve Klabnik, Carol Nichols
- Publisher
- No Starch Press
- Published
- February 28, 2023
- Format
- Print & ebook
- Reading lane
- Programming Languages