Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust
Free Shipping Included! Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust by Packt Publishing at Translate This Website. Hurry! Limited time offer. Offer valid only while supplies last. Get to grips with modern software demands by learning the effective uses of Rust's powerful memory safety.Key FeaturesLearn and improve the
Get to grips with modern software demands by learning the effective uses of Rust's powerful memory safety.
- Learn and improve the sequential performance characteristics of your software
- Understand the use of operating system processes in a high-scale concurrent system
- Learn of the various coordination methods available in the Standard library
Most programming languages can really complicate things, especially with regard to unsafe memory access. The burden on you, the programmer, lies across two domains: understanding the modern machine and your language's pain-points. This book will teach you to how to manage program performance on modern machines and build fast, memory-safe, and concurrent software in Rust. It starts with the fundamentals of Rust and discusses machine architecture concepts. You will be taken through ways to measure and improve the performance of Rust code systematically and how to write collections with confidence. 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 show you how to efficiently embed Rust in C++ code and explore the functionalities of various crates for multithreaded applications. It explores implementations in depth. You will know how a mutex works and build several yourself. You will master radically different approaches that exist in the ecosystem for structuring and managing high-scale systems.
By the end of the book, you will feel comfortable with designing safe, consistent, parallel, and high-performance applications in Rust.
What you will learn
- Probe your programs for performance and accuracy issues
- Create your own threading and multi-processing environment in Rust
- Use coarse locks from Rust's Standard library
- Solve common synchronization problems or avoid synchronization using atomic programming
- Build lock-free/wait-free structures in Rust and understand their implementations in the crates ecosystem
- Leverage Rust's memory model and type system to build safety properties into your parallel programs
- Understand the new features of the Rust programming language to ease the writing of parallel programs
Who This Book Is For
This book is aimed at software engineers with a basic understanding of Rust who want to exploit the parallel and concurrent nature of modern computing environments, safely.
Table of Contents
- Preliminaries: Machine Architecture and Getting Started with Rust
- Sequential Rust Performance and Testing
- The Rust Memory Model: Ownership, References and Manipulation
- Sync and Send: the Foundation of Rust Concurrency
- Locks: Mutex, Condvar, Barriers and RWLock
- Atomics: The Primitives of Synchronization
- Atomics: Safely Reclaiming Memory
- High-Level Parallelism: Threadpools
- FFI and Embedding: Combining Rust and Other Languages
- Futurism: Near-Term Rust
|Item Size:||1.05 x 9.25 x 9.25 inches|
|Package Weight:||1.96 pounds|
|Package Size:||7.52 x 1.38 x 1.38 inches|
Have questions about this item, or would like to inquire about a custom or bulk order?
If you have any questions about this product by Packt Publishing, contact us by completing and submitting the form below. If you are looking for a specif part number, please include it with your message.
Related Best Sellers
ean: 9780134444307, isbn: 0134444302,
For courses in Android Programming. Thinking like a developer — from the start. Created by world-renowned programming instructors Paul and Harvey Deitel, Android How to Program, Third Edition introduces the dynamic world of Android smartpho...
By O'Reilly Media
ean: 9781491992470, isbn: 1491992476,
iOS 11, Swift 4, and Xcode 9 provide many new APIs for iOS developers. With this cookbook, you’ll learn more than 170 proven solutions for tackling the latest features in iOS 11 and watchOS 4, including new ways to use Swift and Xcode to make your ...
By Peach Pit Press
ean: 9780321149312, isbn: 0321149319,
We know what you’re thinking. You’ve heard about AppleScript. You’ve heard that it can do amazing things. You’ve heard that it can automate away the tiring, redundant, repetitive tasks you do with the computer. All true. But you’re not sure...
By Razeware LLC
ean: 9781942878407, isbn: 1942878400,
Make Delightful Animations with Swift! There’s no denying it: creating animations is one of the most enjoyable parts of iOS development. Animations are fun to create, they breathe life into your user interface, and they make your app a delight to u...
By O'Reilly Media
ean: 9781491999226, isbn: 1491999225,
If you’re grounded in the basics of Swift, Xcode, and the Cocoa framework, this book provides a structured explanation of all essential real-world iOS app components. Through deep exploration and copious code examples, you’ll learn how to create ...
By Razeware LLC
ean: 9781942878360, isbn: 1942878362,
Learn Core Data with Swift! Take control of your data in iOS apps using Core Data, through a series of high quality hands-on tutorials. Start with with the basics like setting up your own Core Data Stack all the way to advanced topics like syncing wi...
By Brand: Springer US
ean: 9781441982360, isbn: 1441982361,
"This book is a comprehensive text for the design of safety critical, hard real-time embedded systems. It offers a splendid example for the balanced, integrated treatment of systems and software engineering, helping readers tackle the hardest probl...
By Razeware LLC
ean: 9781942878414, isbn: 1942878419,
Learn How to Make 2D Games for iOS, tvOS, watchOS and macOS! Learn how to make games for all the major Apple platforms in Swift, using Apple's built-in 2D game framework: SpriteKit. Through a series of mini-games and challenges, you will go from begi...
By Razeware LLC
ean: 9781942878384, isbn: 1942878389,
Learn the New iOS 11 APIs! iOS 11 introduces lots of great APIs and other changes, from the brand new Drag and Drop, to augmenting your world with ARKit, to expanding your app's horizons with machine learning in CoreML. Reading and understanding all ...
By Course Technology Ptr
ean: 9781305857995, isbn: 1305857992,
Gain a strong foundation in Java programming with the confidence and technical skills to build working mobile applications when you use ANDROID BOOT CAMP FOR DEVELOPERS USING JAVA: A GUIDE TO CREATING YOUR FIRST ANDROID APPS, 3E. Written by an award-...