• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Rust Atomics and Locks by Mara Bos

Status
Not open for further replies.

itsMe

*KillmeMories*
Staff member
Administrator
Super Moderator
Hacker
Specter
Crawler
Shadow
Joined
Jan 8, 2019
Messages
56,623
Solutions
2
Reputation
32
Reaction score
100,455
Points
2,313
Credits
32,750
‎6 Years of Service‎
 
76%
FY2iqPY.png


January 2023 (PDF, EPub, Mobi)

About this Book

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 difficult. Even in the most well-used libraries, memory ordering bugs are not uncommon.

In this practical book, Mara Bos, team lead 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

Code:
https://www.amazon.com/_/dp/1098119444?tag=oreilly20-20
To see this hidden content, you must like this content.
 
Status
Not open for further replies.
Back
Top