Description
Book Synopsis: 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
Read more
Details
Are you a Rust programmer looking to master low-level concurrency? Look no further than Rust Atomics and Locks: Low-Level Concurrency in Practice. Designed by Mara Bos, the leader of Rust's library team, this practical book is your ultimate guide to understanding the complexities of implementing concurrent data structures and locks in Rust. No more memory ordering bugs or struggles with libraries - with this book, you'll gain a clear understanding of how all the pieces fit together.
What makes Rust the perfect language for concurrency? Its type system ensures that you can program concurrency correctly, making your code more robust and reliable. By diving deep into topics such as atomics, memory ordering, mutexes, and condition variables, you'll learn how to leverage Rust's exceptional type system for building correct and efficient concurrent applications.
But it doesn't stop there. Rust Atomics and Locks also explores the practical side of things. Understand how atomic operations work on Intel and ARM processors, how locks are implemented with operating system support, and even how to build your own locking and synchronization primitives correctly. With the knowledge gained from this book, you'll be equipped to write code that maximizes performance and avoids the pitfalls of concurrent programming.
Ready to take your Rust programming skills to the next level? Don't miss out on this opportunity to become a master of low-level concurrency. Get your copy of Rust Atomics and Locks: Low-Level Concurrency in Practice today and unlock the full potential of Rust in concurrent programming.
Discover More Best Sellers in Computer Science
Shop Computer Science
The Singularity Is Near: When Humans Transcend Biology
$31.68


Deep Learning with PyTorch: Build, train, and tune neural networks using Python tools
$49.99


$39.99


AI and the Future of Education: Teaching in the Age of Artificial Intelligence
$17.77


Terraform: Up and Running: Writing Infrastructure as Code
$46.99


$0.99
