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 (2 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 …

3 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 …