DeepRead
Cover of Rust Atomics and Locks

Rust Atomics and Locks

Mara Bos · 2022

Programming and computer science › Rust and text editors

#2,066 most recommended

About the book

Rust's concurrency primitives, from the low-level atomic operations in the standard library up to the higher-level tools built on them, such as mutexes, condition variables, channels, reference counting, and locks. It covers how these work on real hardware and operating systems, including the basics of the Rust memory model. Correct concurrent code depends on understanding atomics and memory ordering, not just on using the standard library's synchronisation types as black boxes. The author argues that the higher-level primitives can all be derived from a small set of atomic operations and ordering guarantees. The book builds those primitives step by step, so readers can reason about why they are correct and about the performance costs involved.

Written by Claude from what it knows of this book.

What Hacker News says 90% recommend · 0% critical

051020232024202520262025 peak · 10
This bookAverage book in Rust and text editors

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 5 want to read
  • 2 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2022
ISBN
9781098119447
Editions known
2 at Open Library
Open Library
OL27821848W

Explore in the mosaic

Read next: its neighbours on the mosaic

  • The Rust Programming Language
    Steve Klabnik · 2018 · recommended by 170 people · 4 people recommended both
  • Rust for Rustaceans
    Jon Gjengset · 2021 · recommended by 16 people · similar by subject and what people say about it
  • Rust in Action
    Tim McNamara · 2021 · recommended by 17 people · similar by subject and what people say about it
  • Programming Rust
    Jim Blandy · 2021 · recommended by 64 people · similar by subject and what people say about it
  • C Concurrency in Action
    Anthony Williams · 2012 · recommended by 14 people · similar by subject and what people say about it
  • Algorithms for Modern Hardware
    Sergey Slotin · 2022 · recommended by 15 people · similar by subject and what people say about it
  • A primer on memory consistency and cache coherence
    Daniel J. Sorin · 2011 · recommended by 6 people · similar by subject and what people say about it
  • The art of multiprocessor programming
    Maurice Herlihy · 2008 · recommended by 27 people · similar by subject and what people say about it
  • The architecture of open source applications
    Amy Brown · 2011 · recommended by 204 people · similar by subject and what people say about it
  • The garbage collection handbook
    Jones, Richard · 2012 · recommended by 23 people · similar by subject and what people say about it
  • Elements of programming
    Alexander A. Stepanov · 2009 · recommended by 31 people · similar by subject and what people say about it
  • Clean Code
    Robert C. Martin · 2008 · recommended by 298 people · similar by subject and what people say about it
  • Building Git
    James Coglan · 2021 · recommended by 19 people · similar by subject and what people say about it
  • Code Quality
    Diomidis Spinellis · 2006 · recommended by 3 people · loosely similar by subject
  • The design and evolution of C[plus plus]
    Bjarne Stroustrup · 1994 · recommended by 38 people · similar by subject and what people say about it
  • Crafting Interpreters
    Robert Nystrom · 2021 · recommended by 295 people · similar by subject and what people say about it
  • Understanding Computation
    Tom Stuart · 2013 · recommended by 13 people · similar by subject and what people say about it
  • Real World OCaml
    Yaron Minsky · 2013 · recommended by 69 people · similar by subject and what people say about it
  • Programming Pearls
    Jon Bentley · 1999 · recommended by 158 people · similar by subject and what people say about it
  • Modern C
    Jens Gustedt · 2019 · recommended by 37 people · similar by subject and what people say about it
  • Ruby under a microscope
    Pat Shaughnessy · 2014 · recommended by 32 people · similar by subject and what people say about it
  • Algorithms and data structures
    Niklaus Wirth · 1986 · recommended by 8 people · similar by subject and what people say about it
  • Purely functional data structures
    Chris Okasaki · 1998 · recommended by 87 people · similar by subject and what people say about it
  • Modern C++ Design
    Andrei Alexandrescu · 2001 · recommended by 29 people · similar by subject and what people say about it