The Rust Programming Language

The Rust Programming Language

2018 • 561 pages

Ratings19

Average rating4.6

15

The official book on the Rust programming language, written by the Rust development team at the Mozilla Foundation, fully updated for Rust 2018. 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 your code and manage dependencies How best to use Rust's advanced compiler with compiler-led programming techniques You'll find plenty of code examples throughout the book, as well as three chapters dedicated to building complete projects to test your learning: a number guessing game, a Rust implementation of a command line tool, and a multithreaded server. New to this edition: An extended section on Rust macros, an expanded chapter on modules, and appendixes on Rust development tools and editions.


Become a Librarian

Reviews

Popular Reviews

Reviews with the most likes.

September 18, 2021

The best way for learning rust. It can get pretty long and redundant if you read every page from top to bottom, thats why I recommend to judge the information in every page and read as much as you consider is necessary, skipping some pages or sections as you id necessary.

June 27, 2024

Top Prompts

Featured Prompt

4,124 books

#4,124 in What are your favorite books of all time?

When you think back on every book you've ever read, what are some of your favorites? These can be from any time of your life – books that resonated with you as a kid, ones that shaped your personal...

#1
The Lord of the Rings
#2
Dune
#3
The Hitchhiker's Guide to the Galaxy
1984
The Way of Kings
Mistborn: The Final Empire
The Hobbit
Pride and Prejudice
Harry Potter and the Sorcerer's Stone
Project Hail Mary
The Martian
The Hunger Games