The Rust Programming Language, 2nd Edition
English | 2023 | ISBN: 9781098156817 | 861 pages | True EPUB, MOBI | 3.26 MB
English | 2023 | ISBN: 9781098156817 | 861 pages | True EPUB, MOBI | 3.26 MB
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.