The Rust Programming Language

Covers Rust 2018

Paperback, 552 pages

English language

Published Aug. 6, 2019 by No Starch Press.

ISBN:
978-1-7185-0044-0
Copied ISBN!

View on OpenLibrary

5 stars (16 reviews)

The Rust Programming Language is the official book on Rust: an open source systems programming language that helps you write faster, more reliable software. Rust offers control over low-level details (such as memory usage) in combination with high-level ergonomics, eliminating the hassle traditionally associated with low-level languages.

The authors of The Rust Programming Language, members of the Rust Core Team, share their knowledge and experience to show you how to take full advantage of Rust’s features—from installation to creating robust and scalable programs. You’ll begin with basics like creating functions, choosing data types, and binding variables and then move on to more advanced concepts, such as:

  • Ownership and borrowing, lifetimes, and traits
  • Using Rust’s memory safety guarantees to build fast, safe programs
  • Testing, error handling, and effective refactoring
  • Generics, smart pointers, multithreading, trait objects, and advanced pattern matching
  • Using Cargo, Rust’s built-in package manager, to build, test, and document …

2 editions

An excellent book that introduces the Rust programming language.

5 stars

An excellent book that introduces the Rust programming language and why its features can make it a compelling systems level programming language. The book assumes the reader has some programming experience, so it doesn't go into basic programming concepts, but instead shows how Rust handles some standard programming tasks in a safer (and maybe better) way than other systems programming languages.

Rust's explicit use of ownership and keeping track of lifetimes enable the language to detect and alert programmers at compile time about issues with their code that would lead to memory access problems that are a major source of bugs in programs. Rust does not eliminate all bugs, but getting rid of memory access related bugs would be good for programming in general.

After covering those essential aspects of the language, the book then goes into some details about the ecosystem around Rust: separating code into libraries, producing test …

IMHO, this is The Way (TM) to learn Rust

5 stars

I loved reading this book! It is so well written, whenever I had a question of the type "but doesn't that mean that X can also be seen as a Y?" the next paragraph would go exactly into why that is or isn't the case.

I wanted to learn Rust for a long time now but never could find the energy to stare at more screens after hours; having the paper version of this book available was a godsend for me, as it allowed me to do really focused reading without hurting my eyes.

Despite it being an "infodump" style book without much "now do this exercise, then this", after reading this book I felt well prepared to read and write intermediate complexity Rust code, and set off doing so. :)

Review of 'The Rust Programming Language' on 'Goodreads'

5 stars

Super complete book, opposite to other languages, you actually need to sit down and understand concepts. Rust is a language that introduces a lot of novel ideas and thus it requires some work from the engineer. This book gives you a nice toolset (I don't know if it will be enough in my journey), but I'm very happy with it.

avatar for maxbittker

rated it

4 stars
avatar for esensar

rated it

5 stars
avatar for paparomeo

rated it

5 stars
avatar for sajattack

rated it

5 stars
avatar for wakatara

rated it

4 stars
avatar for gamer

rated it

5 stars
avatar for deathgrindfreak

rated it

5 stars
avatar for esensar

rated it

5 stars
avatar for aaronhktan

rated it

3 stars
avatar for Minnozz

rated it

5 stars

Lists