Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust Authors: Brian L. Troutwine
Description: Effectively meet modern software demands by using Rust's safe and powerful memory model
Key FeaturesLearn and improve the sequential performance characteristics of your softwareUnderstand the use of operating system processes in a high-scale concurrent systemExplore the different coordination methods available in the standard libraryBook DescriptionMost programming languages can be challenging to work with, especially with regard to unsafe memory access. Moreover, the burden on you as a programmer involves two understanding the modern machine and your language's pain points. To help you tackle this, Hands-On Concurrency with Rust will guide you on how to manage program performance on modern machines and build fast, memory-safe, and concurrent software in Rust.
The book starts with the fundamentals of Rust and focuses on machine architecture concepts. You will then explore ways to measure and improve the performance of Rust code systematically and how to confidently write collections. As you progress, you will learn about the Sync and Send traits applied to threads, and coordinate thread execution with locks, atomic primitives, data-parallelism, and more. The book will also assist you in efficiently embedding Rust in C++ code, before helping you discover the functionalities of different crates for multithreaded applications. In later chapters, you'll go on to understand the implementations of lock-free and wait-free structures. You will also get up to speed with how a mutex works, along with learning to build them yourself. Finally, you'll master radically different approaches that exist in the ecosystem for structuring and managing high-scale systems.
By the end of this book, you will have gained the expertise you need to design safe, consistent, parallel, and high-performance applications in Rust.
What you will learnExamine your programs for performance and accuracy issuesCreate your own threading and multi-processing environment in RustUse coarse locks from Rust's standard librarySolve common synchronization problems or avoid synchronization using atomic programmingBuild lock-free and wait-free structures in Rust and understand their implementations in the crates ecosystemLeverage Rust's memory model and type system to integrate safety properties into your parallel programsUnderstand the new features of the Rust programming language to ease the process of writing parallel programsWho This Book Is ForThis book is for software engineers with a basic understanding of Rust, who want to safely use the parallel and concurrent nature of modern computing environments.
Table of Machine Architecture and Getting Started with RustSequential Rust Performance and TestingThe Rust Memory Ownership, References and ManipulationSync and the Foundation of Rust Mutex, Condvar, Barriers and The Primitives of Safely Reclaiming MemoryHigh-Level ThreadpoolsFFI and Combining Rust and Other Near-Term Rust
Goodreads page: https://www.goodreads.com/book/show/40120258-hands-on-concurrency-with-rust
Please note that this description is auto-generated by a bot, if you find the description incorrect then please report in the comments. Description will be edited accordingly afterwards. |