The Rust Programming Language, 2nd Edition
by 作者: Steve Klabnik (Author), Carol Nichols (Author)
Publisher Finelybook 出版社: No Starch Press
Edition 版本: 2nd
Publication Date 出版日期: 2023-02-28
Language 语言: English
pages 页数: : 560 pages
ISBN-10 书号: 1718503105
ISBN-13 书号: 9781718503106
Book 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.
Review
—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