The Rust Programming Language, 2nd Edition

ยท
ยท No Starch Press
3.4
7 ื‘ื™ืงื•ืจื•ืช
ืกืคืจ ื“ื™ื’ื™ื˜ืœื™
560
ื“ืคื™ื
ื›ืฉื™ืจ
ื”ื‘ื™ืงื•ืจื•ืช ื•ื”ื“ื™ืจื•ื’ื™ื ืœื ืžืื•ืžืชื™ืย ืžื™ื“ืข ื ื•ืกืฃ

ืžื™ื“ืข ืขืœ ื”ืกืคืจ ื”ื“ื™ื’ื™ื˜ืœื™ ื”ื–ื”

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.

ื“ื™ืจื•ื’ื™ื ื•ื‘ื™ืงื•ืจื•ืช

3.4
7 ื‘ื™ืงื•ืจื•ืช

ืขืœ ื”ืžื—ื‘ืจ

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.

ืจื•ืฆื” ืœื“ืจื’ ืืช ื”ืกืคืจ ื”ื“ื™ื’ื™ื˜ืœื™ ื”ื–ื”?

ื ืฉืžื— ืœืฉืžื•ืข ืžื” ื“ืขืชืš.

ืื™ืš ืงื•ืจืื™ื ืืช ื”ืกืคืจ

ืกืžืืจื˜ืคื•ื ื™ื ื•ื˜ืื‘ืœื˜ื™ื
ื›ืœ ืžื” ืฉืฆืจื™ืš ืœืขืฉื•ืช ื”ื•ื ืœื”ืชืงื™ืŸ ืืช ื”ืืคืœื™ืงืฆื™ื” ืฉืœ Google Play Books ืœ-Android ืื• ืœ-iPad/iPhoneโ€. ื”ื™ื ืžืกืชื ื›ืจื ืช ื‘ืื•ืคืŸ ืื•ื˜ื•ืžื˜ื™ ืขื ื”ื—ืฉื‘ื•ืŸ ืฉืœืš ื•ืžืืคืฉืจืช ืœืš ืœืงืจื•ื ืžื›ืœ ืžืงื•ื, ื’ื ืœืœื ื—ื™ื‘ื•ืจ ืœืื™ื ื˜ืจื ื˜.
ืžื—ืฉื‘ื™ื ื ื™ื™ื“ื™ื ื•ืฉื•ืœื—ื ื™ื™ื
ื ื™ืชืŸ ืœื”ืื–ื™ืŸ ืœืกืคืจื™ ืื•ื“ื™ื• ืฉื ืจื›ืฉื• ื‘-Google Play ื‘ืืžืฆืขื•ืช ื“ืคื“ืคืŸ ื”ืื™ื ื˜ืจื ื˜ ืฉืœ ื”ืžื—ืฉื‘.
eReaders ื•ืžื›ืฉื™ืจื™ื ืื—ืจื™ื
ื›ื“ื™ ืœืงืจื•ื ื‘ืžื›ืฉื™ืจื™ื ืขื ืชืฆื•ื’ืช ื“ื™ื• ืืœืงื˜ืจื•ื ื™ (e-ink) ื›ืžื• ื”ืงื•ืจืื™ื ื”ืืœืงื˜ืจื•ื ื™ื™ื ืฉืœ Kobo, ืฆืจื™ืš ืœื”ื•ืจื™ื“ ืงื•ื‘ืฅ ื•ืœื”ืขื‘ื™ืจ ืื•ืชื• ืœืžื›ืฉื™ืจ. ื™ืฉ ืœืคืขื•ืœ ืœืคื™ ื”ื”ื•ืจืื•ืช ื”ืžืคื•ืจื˜ื•ืช ื‘ืžืจื›ื– ื”ืขื–ืจื” ื›ื“ื™ ืœื”ืขื‘ื™ืจ ืืช ื”ืงื‘ืฆื™ื ืœืงื•ืจืื™ื ืืœืงื˜ืจื•ื ื™ื™ื ื ืชืžื›ื™ื.