Rust Atomics and Locks: Low-Level Concurrency in Practice

ANT

4.4 119
$18.88 $31.47You save $12.59
Format
Digital edition
PDFEPUB
Works on phone, tablet and computer Instant access after checkout Personal-use digital license
About this edition

• Instant access to your digital edition.
• Read anytime, anywhere, on your favorite device.
• No shipping — your book is delivered digitally.
• Simple, secure access after purchase.

Published date February 7, 2023
Author Mara Bos

Instant digital delivery after purchase.

Download link available immediately after checkout.
In stock
Quantity
Secure checkout — encrypted end to end Free exchange or return within 30 days if the product is defective. Digital formats available instantly
Readers also enjoyed

Discover another great read to add to your digital library.

$18.88 $31.47

Description

The Rust programming language is extremely well suited for concurrency, and its ecosystem has many libraries that include lots of concurrent data structures, locks, and more. But implementing those structures correctly can be very difficult. Even in the most well-used libraries, memory ordering bugs are not uncommon.

In this practical book, Mara Bos, leader of the Rust library team, helps Rust programmers of all levels gain a clear understanding of low-level concurrency. You'll learn everything about atomics and memory ordering and how they're combined with basic operating system APIs to build common primitives like mutexes and condition variables. Once you're done, you'll have a firm grasp of how Rust's memory model, the processor, and the role of the operating system all fit together.

With this guide, you'll learn: How Rust's type system works exceptionally well for programming concurrency correctly All about mutexes, condition variables, atomics, and memory ordering What happens in practice with atomic operations on Intel and ARM processors How locks are implemented with support from the operating system How to write correct code that includes concurrency, atomics, and locks How to build your own locking and synchronization primitives correctly

Specifications

FormatEPUB, PDF
Pages249
LanguageEnglish
ISBN-13978-1098119447

Frequently asked

Do I need an account to download?

No. After purchase, you can access your ebook directly from the order confirmation or download page.

What if a copy arrives damaged?

Contact us and we’ll help you access the file or provide a replacement download if needed.

Reviews

4.4 83
5★84%4★11%3★3%2★1%1★1%
T Teresa Johnson Verified
★★★★★The diagrams do the teachingSeeing the concept drawn before the notation appears changed everything for me.
S Sierra Alexander Verified
★★★★★A set text for my classThe problem sets are graded properly and the solutions are complete.
A Allison Ayers Verified
★★★★★
See all reviews

Customers also downloaded