Bos, Mara
Rust Atomics and Locks: Low-Level Concurrency in Practice
- ISBN 13:
- 9781098119447
- author:
- Bos, Mara
- format:
- Paperback
- publisher:
- O'Reilly Media
- language:
- English
- Publication Year:
- 2023
- Pages:
- 249
- Dimensions:
- 17.5 x 22.9 x 1.5 centimetres (0
- Genre:
- Computers, Computer Science, General,
- Condition:
- New
- Availability:
- Item usually sent within 10 working days
Description
Rust Atomics and Locks: A Practical Guide to Low-level Concurrency Mara Bos, leader of the Rust library team, helps you gain a clear understanding of low-level concurrency in this practical book. You'll learn about atomics, memory ordering, and how they're combined with basic operating system APIs to build common primitives like mutexes and condition variables. With this guide, you'll understand how Rust's type system works exceptionally well for programming concurrency correctly, as well as the intricacies of mutexes, condition variables, atomics, and memory ordering. You'll also learn about the implementation of locks with support from the operating system and how to write correct code that includes concurrency, atomics, and locks. By the end of this book, you'll have a firm grasp of how Rust's memory model, processor, and operating system fit together, allowing you to build your own locking and synchronization primitives correctly.