Hands-On Concurrency with Rust

Get to grips with modern software demands by learning the effective uses of Rust's powerful memory safety.

Hands-On Concurrency with Rust

Brian L. Troutwine
New Release!

Get to grips with modern software demands by learning the effective uses of Rust's powerful memory safety.
eBook
$10.00
RRP $35.99
Save 72%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$10.00
$44.99
RRP $35.99
RRP $44.99
eBook
Print + eBook

Frequently bought together


Hands-On Concurrency with Rust Book Cover
Hands-On Concurrency with Rust
$ 35.99
$ 10.00
Hands-On Functional Programming in RUST Book Cover
Hands-On Functional Programming in RUST
$ 35.99
$ 10.00
Buy 2 for $20.00
Save $51.98
Add to Cart

Book Details

ISBN 139781788399975
Paperback462 pages

Book Description

Most programming languages can really complicate things, especially with regard to unsafe memory access. The burden on you, the programmer, lies across two domains: understanding the modern machine and your language's pain-points. This book will teach you to how to manage program performance on modern machines and build fast, memory-safe, and concurrent software in Rust. It starts with the fundamentals of Rust and discusses machine architecture concepts. You will be taken through ways to measure and improve the 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 coordinate thread execution with locks, atomic primitives, data-parallelism, and more.

The book will show you how to efficiently embed Rust in C++ code and explore the functionalities of various crates for multithreaded applications. It explores implementations in depth. You will know how a mutex works and build several yourself. You will master radically different approaches that exist in the ecosystem for structuring and managing high-scale systems.

By the end of the book, you will feel comfortable with designing safe, consistent, parallel, and high-performance applications in Rust.

Table of Contents

Chapter 1: Preliminaries – Machine Architecture and Getting Started with Rust
Chapter 3: The Rust Memory Model – Ownership, References and Manipulation
Chapter 4: Sync and Send – the Foundation of Rust Concurrency
Chapter 8: High-Level Parallelism – Threadpools, Parallel Iterators and Processes

What You Will Learn

  • Probe your programs for performance and accuracy issues
  • Create your own threading and multi-processing environment in Rust
  • Use coarse locks from Rust’s Standard library
  • Solve common synchronization problems or avoid synchronization using atomic programming
  • Build lock-free/wait-free structures in Rust and understand their implementations in the crates ecosystem
  • Leverage Rust’s memory model and type system to build safety properties into your parallel programs
  • Understand the new features of the Rust programming language to ease the writing of parallel programs

Authors

Table of Contents

Chapter 1: Preliminaries – Machine Architecture and Getting Started with Rust
Chapter 3: The Rust Memory Model – Ownership, References and Manipulation
Chapter 4: Sync and Send – the Foundation of Rust Concurrency
Chapter 8: High-Level Parallelism – Threadpools, Parallel Iterators and Processes

Book Details

ISBN 139781788399975
Paperback462 pages
Read More

Read More Reviews

These popular $10 titles might interest you

Hands-On Functional Programming in RUST Book Cover
Hands-On Functional Programming in RUST
$ 35.99
$ 10.00
Rust Standard Library Cookbook Book Cover
Rust Standard Library Cookbook
$ 35.99
$ 10.00
Network Programming with Rust Book Cover
Network Programming with Rust
$ 35.99
$ 10.00
Kubernetes for Developers Book Cover
Kubernetes for Developers
$ 35.99
$ 10.00
Security with Go Book Cover
Security with Go
$ 31.99
$ 10.00
Kotlin Programming Cookbook Book Cover
Kotlin Programming Cookbook
$ 39.99
$ 10.00