The Rust Programming Language, 2nd Edition

·
· No Starch Press
3.5
6 reviews
Ebook
560
Pages
Eligible

About this ebook

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.

Ratings and reviews

3.5
6 reviews
Al Javier
August 8, 2024
Given that this is the official documentation in book form, I at least expected some color to help with the code portions. There's also a lot of parts that don't really seem to get to the point, I like learning by doing - and there's some parts that just drag down and never properly explain things. An example of this is in chapter 7, I just wanted to figure out code-splitting, an essential part of any programming language, and it just goes on-and-on. Aside from that, I believe most users should probably just get either the physical copy, or go straight to the documentation. As an experienced Go programmer I was able to push through most of this without much resistance. My enthusiasm was dampened a little with the aforementioned issues.
Did you find this helpful?
Love Music
November 13, 2024
This app is cloned. Please remove all the devices from this app.
Did you find this helpful?

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.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.