-14% $51.42$51.42
Delivery Monday, January 27
Ships from: Amazon.com Sold by: Amazon.com
$41.19$41.19
$10.12 delivery February 10 - March 4
Ships from: Better World Books: South Sold by: Better World Books: South
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Audible sample
Rust in Action 1st Edition
Purchase options and add-ons
Summary
Rust in Action introduces the Rust programming language by exploring numerous systems programming concepts and techniques. You'll be learning Rust by delving into how computers work under the hood. You'll find yourself playing with persistent storage, memory, networking and even tinkering with CPU instructions. The book takes you through using Rust to extend other applications and teaches you tricks to write blindingly fast code. You'll also discover parallel and concurrent programming. Filled to the brim with real-life use cases and scenarios, you'll go beyond the Rust syntax and see what Rust has to offer in real-world use cases.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Rust is the perfect language for systems programming. It delivers the low-level power of C along with rock-solid safety features that let you code fearlessly. Ideal for applications requiring concurrency, Rust programs are compact, readable, and blazingly fast. Best of all, Rust’s famously smart compiler helps you avoid even subtle coding errors.
About the book
Rust in Action is a hands-on guide to systems programming with Rust. Written for inquisitive programmers, it presents real-world use cases that go far beyond syntax and structure. You’ll explore Rust implementations for file manipulation, networking, and kernel-level programming and discover awesome techniques for parallelism and concurrency. Along the way, you’ll master Rust’s unique borrow checker model for memory management without a garbage collector.
What's inside
Elementary to advanced Rust programming
Practical examples from systems programming
Command-line, graphical and networked applications
About the reader
For intermediate programmers. No previous experience with Rust required.
About the author
Tim McNamara uses Rust to build data processing pipelines and generative art. He is an expert in natural language processing and data engineering.
Table of Contents
1 Introducing Rust
PART 1 RUST LANGUAGE DISTINCTIVES
2 Language foundations
3 Compound data types
4 Lifetimes, ownership, and borrowing
PART 2 DEMYSTIFYING SYSTEMS PROGRAMMING
5 Data in depth
6 Memory
7 Files and storage
8 Networking
9 Time and timekeeping
10 Processes, threads, and containers
11 Kernel
12 Signals, interrupts, and exceptions
- ISBN-101617294551
- ISBN-13978-1617294556
- Edition1st
- PublisherManning
- Publication dateAugust 10, 2021
- LanguageEnglish
- Dimensions7.38 x 1 x 9.25 inches
- Print length456 pages
Frequently bought together
Customers who bought this item also bought
Editorial Reviews
Review
"This well-written book will help you make the most of what Rust has
to offer."—Ramnivas Laddad, author of AspectJ in Action
"Makes it easy to explore the language and get going with it."—Federico Hernandez, Meltwater
"Rust in Action is remarkably polished!"—Christopher Haupt, Swoogo
"Engaging writing style and crisp, easy-to-grasp examples help the
reader get off the ground in no time."—Sumant Tambe, Linkedin
About the Author
Product details
- Publisher : Manning; 1st edition (August 10, 2021)
- Language : English
- Paperback : 456 pages
- ISBN-10 : 1617294551
- ISBN-13 : 978-1617294556
- Item Weight : 1.75 pounds
- Dimensions : 7.38 x 1 x 9.25 inches
- Best Sellers Rank: #350,110 in Books (See Top 100 in Books)
- #10 in Memory Management Algorithms
- #20 in Parallel Computer Programming
- #860 in Programming Languages (Books)
- Customer Reviews:
About the author
Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviews with images
A good (and fun!) step in a Rustacean's journey
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
- Reviewed in the United States on March 26, 2024This is such an excellent book - well written, concise, crisp, meaningful examples, the quality of the code examples, the level of annotations in code listings and the diagrams, the inclusion of footnotes (especially in the 1st chapter), and summary notes at the end of each chapter.
This is a great example of how to write a book.
- Reviewed in the United States on October 19, 2022Rust is complex.
Tim does a great job incrementally exposing you to manageable chunks of related features.
He tries to "meet you half way" if you're coming from another popular language.
One pedantic issue is the pages are thin, so highlighters mark both sides. Zero regrets on this purchase though. Excellent resource.
- Reviewed in the United States on September 28, 2021I started learning Rust one year ago (almost to the day!). "Rust in Action" was the second book in my journey. I started with "the book" (aka, Klabnik and Nichols' excellent text, "The Rust Programming Language") and worked through it over two months. I purchased an early-access copy of "Rust in Action" (in December 2020) to get exposure to systems programming concepts and solidify my understanding of foundational concepts—basically Part 1 of McNamara's book. I spent the next four months working through his book.
McNamara does a good job covering the basics of the language; while his presentation is similar to Klabnik and Nichol's, it has its own flavor which helped me better internalize those topics. For example, I found his discussion of trait objects and his "tiny role-playing game" example (section 8.3) both informative and fun.
I enjoyed the systems programming chapters; many of those concepts were new to me upon first reading. I am currently re-reading the chapters on memory (chapter 6), kernel (chapter 11), and signals, interrupts, and exceptions (chapter 12) because I realize how much I didn't understand/appreciate when I first read them.
I highly recommend re-coding (or cloning) and playing with McNamara's examples. Break things and then fix them; it's a good way to become friends with Rust's compiler.
I've since moved on to the 2nd edition of "Programming Rust: Fast, Safe Systems Development" by Blandy, Orendorff and Tindall (which is another excellent text), and an early-access copy of Gjengset's forthcoming "Rust for Rustaceans: Idiomatic Programming for Experienced Developers". All the while I continue to use Rust at work and appreciate the language and the community.
5.0 out of 5 stars A good (and fun!) step in a Rustacean's journeyI started learning Rust one year ago (almost to the day!). "Rust in Action" was the second book in my journey. I started with "the book" (aka, Klabnik and Nichols' excellent text, "The Rust Programming Language") and worked through it over two months. I purchased an early-access copy of "Rust in Action" (in December 2020) to get exposure to systems programming concepts and solidify my understanding of foundational concepts—basically Part 1 of McNamara's book. I spent the next four months working through his book.
Reviewed in the United States on September 28, 2021
McNamara does a good job covering the basics of the language; while his presentation is similar to Klabnik and Nichol's, it has its own flavor which helped me better internalize those topics. For example, I found his discussion of trait objects and his "tiny role-playing game" example (section 8.3) both informative and fun.
I enjoyed the systems programming chapters; many of those concepts were new to me upon first reading. I am currently re-reading the chapters on memory (chapter 6), kernel (chapter 11), and signals, interrupts, and exceptions (chapter 12) because I realize how much I didn't understand/appreciate when I first read them.
I highly recommend re-coding (or cloning) and playing with McNamara's examples. Break things and then fix them; it's a good way to become friends with Rust's compiler.
I've since moved on to the 2nd edition of "Programming Rust: Fast, Safe Systems Development" by Blandy, Orendorff and Tindall (which is another excellent text), and an early-access copy of Gjengset's forthcoming "Rust for Rustaceans: Idiomatic Programming for Experienced Developers". All the while I continue to use Rust at work and appreciate the language and the community.
Images in this review - Reviewed in the United States on June 3, 2022This is a well written book -- there is enough here to get started comfortably in a Rust programming team. In about 450 pages the author expertly covers quite some ground, clearly explaining the programming concepts. Part I is on the language itself, and Part II is on systems programming; so you get two books in one. These two parts are written with care and integrity, Part II strengthening your skills to perform in an enterprise setting.
Part I is among best Rust primers that I know of where rust-specific concepts such as ownership and borrow are carefully done. Systems Programming deals with OS/hardware level programming that is traditionally done in C/C++ languages. Now Rust, as a modern language, comes with everything it takes to shine in the Systems area. Its potential is really huge, we got to wait and see. Part II introduces Rust for systems programming. This is helpful and welcome since Rust's own official documentation is quite terse for beginners.
- Reviewed in the United States on August 10, 2021For context, I was moderately familiar with Rust when I picked this book up, but I don't consider myself a systems programmer. This book helped fill in the gaps that appeared when coming to Rust from a high-level language (in my case, Python). Even though I don't intend to do much low-level programming, the book has made me a better Rust programmer in general by familiarizing me with the lower-level details and helping me get a sense of the design choices of Rust language designers.
McNamara manages to explain some pretty complex topics without coming across as dry or repetitive. I would recommend this book to people who have been through an introduction to Rust and want to see more, but it would also work as a first Rust book if you're up for a steep initial climb.
- Reviewed in the United States on August 10, 2021I've been learning Rust for awhile now. I read through multiple online resources such as "The Rust Programming Language" and "Learn Rust With Entirely Too Many Linked Lists", but always felt like I didn't have the full picture of complete understanding. After reading just the first four chapters of "Rust In Action" I finally feel confident in my understanding of some of Rust's hardest languages concepts (such as Strings, lifetimes, ownership, and borrowing).
The examples I've worked through so far have been very informative and all the code is kept up to date on the included GitHub repository. I couldn't be more excited to work through the more complex examples later in the book!
I highly recommend this book for anyone looking to level up their Rust skills.
Top reviews from other countries
- Peter HearnReviewed in the United Kingdom on March 10, 2022
5.0 out of 5 stars Good for converting existing C/C++ coders to Rust. Not for low-level language beginners.
Hung in until page 61 when it became clear it was too quick-paced for me. It has to be said I absolutely suck at programming, so my review is for those who, like me, are approaching Rust from easy languages like C# which make things super easy but are slow and bloated.
If you are good at maths and perhaps already a strong programmer in a language like C, then I think you'll enjoy this book. If, like me, you need a concept explaining before the example hits you, you'll possibly struggle. The style of the book is to list some code, then pick out the syntax points, the reader apparently already innately aware as to why the concept itself matters.
Thus I'd recommend this as a conversion book for experienced C/C++ coders. For the pedestrian among us who nevertheless realise Python is an abomination and want a fast, reliable, typed language, find a more basic text to follow that explains why you'd want to do something before hitting you in the face with the intricacies of the syntax.
Good coding book - if you're already good at coding.
- RaglandReviewed in India on December 29, 2021
5.0 out of 5 stars Don't buy Kindle version
Kindle is not a good place to read this book.
Formatting is very bad
- CruzitoReviewed in the United Kingdom on May 28, 2022
5.0 out of 5 stars Amazing for developers with no systems level experience.
I'm from a web development background, specifically with Java and NodeJS, this was a really good book to get started with Rust and learn what happens under the hood with the execution of your code.
The official "rust book" doesn't cover a lot and sometimes can feel very overwhelming after each chapter, Rust in Action does a brilliant job explaining all the minor details as if it was communicating to a monkey.
If you're interested in picking up Rust (why wouldn't you be, if you're reading this review?) Rust in Action and Programming in Rust is a good reference. With the combination with these two books and online resources, you cannot fail.