Customers who viewed this item also viewed
Buy New
-5%
$46.57$46.57
FREE delivery Sunday, April 26
Ships from: Amazon.com Sold by: Amazon.com
Used - Very Good
$18.59$18.59
FREE delivery April 29 - May 1
Ships from: ThriftBooks-Dallas Sold by: ThriftBooks-Dallas
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
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.
Follow the author
OK
Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust
Purchase options and add-ons
Get to grips with modern software needs by learning the effective uses of Rust's powerful memory safety
Key Features
- Learn how To benchmark and improve the sequential performance characteristics of your software
- Understand the use of operating system processes in a high-scale concurrent system and manage them effectively.
- The book will explore a variety of coordination methods available in the standard library as well as a sampling of those available in the growing Crate ecosystem.
Book Description
Modern computers are deeply curious machines. Although difficult, they can be exploited with languages designed for serial CPUs with care and dedication. Rust reduces the burden to the programmer without sacrificing the accuracy or performance of the computer. This book will teach you to build memory-safe and concurrent software in Rust efficiently.
The book starts with the fundamentals of Rust and discusses machine architecture concepts. You will be taken through ways to measure and improve performance of Rust code systematically and how to write collections with confidence. You will learn about the Sync and Send traits applied to threads and coordinating thread execution with locks. The book will show you how to efficiently embed Rust in C++ code and the functionalities of various crates for multithreaded applications. It will do a deep interrogation of key implementations - of a channel, mutex and skiplist - in Rust.. You will be familiarized with radically different alternative approaches that exist in the ecosystem for structuring and managing high-scale systems.
By the end, you will feel comfortable designing a safe, consistent, high-performant and concurrent application in Rust.
What you will learn
- Interactions of Rust structures with CPU caches and OS specific tooling to measure code performance
- The working of Rust's memory model to write collections - owning and referring.
- How to use built-in MPSC without hitting the common stumbling points for new Rust programmers.
- Use atomics to solve common related to scare resource management situation
- Effectively use locks available in the Rust standard library so as to use them in solving coordination problems
- Use the POSIX threading interface to perform thread pinning and the like
Who This Book Is For
This book is aimed at software engineers with a basic understanding of Rust who want to exploit the parallel and concurrent nature of modern computing environments, safely.
- ISBN-101788399978
- ISBN-13978-1788399975
- PublisherPackt Publishing
- Publication dateMay 31, 2018
- LanguageEnglish
- Dimensions7.5 x 1.05 x 9.25 inches
- Print length413 pages
Frequently bought together

Deals on related products
Customers also bought or read
- Rust for Rustaceans: Idiomatic Programming for Experienced Developers
Paperback$29.49$29.49Delivery Sun, Apr 26 - Asynchronous Programming in Rust: Learn asynchronous programming by building working examples of futures, green threads, and runtimes
Paperback$28.90$28.90Delivery Sun, Apr 26 - Programming Rust: Fast, Safe Systems Development#1 Best SellerParallel Computer Programming
Paperback$43.99$43.99FREE delivery Sun, Apr 26 - Effective Rust: 35 Specific Ways to Improve Your Rust Code
Paperback$45.20$45.20FREE delivery Sun, Apr 26 - Operating Systems: Three Easy Pieces#1 Best SellerComputer Operating Systems Theory
Paperback$28.27$28.27Delivery Sun, Apr 26
Editorial Reviews
About the Author
Product details
- Publisher : Packt Publishing
- Publication date : May 31, 2018
- Language : English
- Print length : 413 pages
- ISBN-10 : 1788399978
- ISBN-13 : 978-1788399975
- Item Weight : 1.74 pounds
- Dimensions : 7.5 x 1.05 x 9.25 inches
- Best Sellers Rank: #3,324,281 in Books (See Top 100 in Books)
- #163 in Parallel Computer Programming
- #625 in C++ Programming Language
- #3,916 in Computer Programming Languages
- Customer Reviews:
About the author

Brian L. Troutwine was born in 1987 in rural Missouri and was greatly dismayed as a child to learn that the St. Louis Gateway Arch was not, in fact, the world's largest grain silo. Today, Brian is a software engineer with a focus on low-level systems' performance and human factors. He is interested in software deployed in extreme conditions and the techniques, both technical and political, it takes to produce software fit for purpose in the same.
Related products with free delivery on eligible orders
Customer reviews
- 5 star4 star3 star2 star1 star5 star61%21%18%0%0%61%
- 5 star4 star3 star2 star1 star4 star61%21%18%0%0%21%
- 5 star4 star3 star2 star1 star3 star61%21%18%0%0%18%
- 5 star4 star3 star2 star1 star2 star61%21%18%0%0%0%
- 5 star4 star3 star2 star1 star1 star61%21%18%0%0%0%
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 AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on July 5, 2018Format: KindleVerified PurchaseI'm still working through this, but I feel like this deserves a review. This book convinced me that there's still books on programming being written that are worth reading. Even the intro chapter has taught me things that I either forgot or wasn't taught in my university classes that they definitely should have taught me.
Do yourself a favor and read the sample, you'll learn things even in that short read.
- Reviewed in the United States on December 17, 2019Format: PaperbackVerified PurchaseThis book is not the one people just sit down with, read and learn that they wanted. It jumps in hard, starts using terms not explained well, really hard to follow. It works only if someone is dedicated, goes page by page and does a lots of additional research on topics till finally understands what is written.
It is not a book that teaches you. It is a scaffold you can use to teach yourself. Fortunately, there are many references in the book for additional information.
The 'Table of Content' looks promising (that is why I ordered the book) but I finished every chapter with disappointment and a mental note that 'damn, I need to look up this and that and come back'.
Maybe after a second or third read I will change my opinion - then I will come back and change my rating, but right now, considering the price, I can suggest this book only if your company pays for it - and your daily job is not that busy, so you have time for your own research based on the ideas of the book.
- Reviewed in the United States on July 27, 2018Format: PaperbackVerified PurchaseWell, of course I love it!!! Our son wrote it! So I'm a bit biased!
- Reviewed in the United States on September 4, 2018Format: PaperbackExtremely well-written and researched. This is an advanced book written in a conversational style that flows well. Each chapter ends with extensive and useful references. Testing tools and methods are introduced at the beginning of the book rather than as an afterthought, which is a refreshing change from many other books. Some of the tools covered include the various valgrind flavors, criterion, QuickCheck, and Linux perf. Techniques for testing concurrency code for correctness and performance are described thoroughly. Code examples work properly and build upon preceding material. The source code for real-world projects hopper and cernan are examined and explained from a concurrency perspective. The book also explores rust internals, and steps through the implementation of several core data structures and primitives.
This is one of the best technology books - it's written in a style that is fun to read, and the material is precise and challenging.
- Reviewed in the United States on May 26, 2019Format: KindleI am still evaluating rust on the side projects. This is great book along with "The rust programming language" book giving more deeper insights..
Top reviews from other countries
SZReviewed in Germany on January 8, 20225.0 out of 5 stars Excellent
Format: PaperbackVerified PurchaseThis book is absolutely excellent. Highly recommended.
Sylvain KerkourReviewed in France on May 23, 20195.0 out of 5 stars Technically precise and good at explaining
Format: KindleVerified PurchaseReading the book, we can feel that the author knows what he is talking about.
Great programming book!










