SKU/Artículo: AMZ-B07C5WXSXX

Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust

Format:

Kindle

Kindle

Paperback

Detalles del producto
Disponibilidad:
En stock
Peso con empaque:
0.15 kg
Devolución:
Condición
Nuevo
Producto de:
Amazon
Viaja desde
USA

Sobre este producto
  • Effectively meet modern software demands by using Rust's safe and powerful memory modelKey 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 aspects: 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 ContentsPreliminaries: Machine Architecture and Getting Started with RustSequential Rust Performance and TestingThe Rust Memory Model: Ownership, References and ManipulationSync and Send: the Foundation of Rust ConcurrencyLocks: Mutex, Condvar, Barriers and RWLockAtomics: The Primitives of SynchronizationAtomics: Safely Reclaiming MemoryHigh-Level Parallelism: ThreadpoolsFFI and Embedding: Combining Rust and Other LanguagesFuturism: Near-Term Rust

Producto prohibido

Este producto no está disponible

Este producto viaja de USA a tus manos en

Conoce más detalles

Highlight, take notes, and search in the book