Rust Atomics and Locks (Second Early Release) Mara Bos
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 roles of the operating system all fit together.With this guide, you’ll learn:How Rust’s type system works exceptionally well for programming concurrency correctlyAll about mutexes, condition variables, atomics, and memory orderingWhat happens in practice with atomic operations on Intel and ARM processorsHow locks are implemented with support from the operating systemHow to write correct code that includes concurrency, atomics, and locksHow to build your own locking and synchronization primitives correctly Categories:
Computers – Programming
Year:
2022
Edition:
2022-06-23: Second Early Release
Publisher:
O’Reilly Media, Inc.
Language:
english
Pages:
65
ISBN 10:
109811938X
ISBN 13:
9781098119386
File:
713 KB
Rust Atomics and Locks 2nd Early Release
$15.99
Rust Atomics and Locks 2nd Early Release
Authors: Mara Bos
Year: 2022
Publisher: O’Reilly Media, Inc.
Language: English
ISBN 13: 9781098119386
ISBN 10: 109811938X
Categories: Computers, Programming
Pages: 320 / 319
Edition: 2022-06-23: Second Early Release
Availability: 5000 in stock
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.