购买选项
Kindle电子书价格: | ¥74.11 |

下载免费的 Kindle 阅读软件,即可立即在智能手机、平板电脑或电脑上阅读 Kindle 电子书 - 无需 Kindle 设备。了解更多信息
使用手机摄像头 - 扫描以下代码并下载 Kindle 阅读软件。

![“Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust (English Edition)”,作者:[Brian L. Troutwine]](https://images-cn.ssl-images-amazon.cn/images/I/51cazuxtGOL._SX260_.jpg)
Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust (English Edition) 1第一 版本, Kindle电子书
Effectively meet modern software demands by using Rust's safe and powerful memory model
Key Features
- Learn and improve the sequential performance characteristics of your software
- Understand the use of operating system processes in a high-scale concurrent system
- Explore the different coordination methods available in the standard library
Book Description
Most 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 learn
- Examine 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 and wait-free structures in Rust and understand their implementations in the crates ecosystem
- Leverage Rust's memory model and type system to integrate safety properties into your parallel programs
- Understand the new features of the Rust programming language to ease the process of writing parallel programs
Who This Book Is For
This 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 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
基本信息
- ASIN : B07C5WXSXX
- 出版社 : Packt Publishing; 第 1st 版 (2018年5月31日)
- 出版日期 : 2018年5月31日
- 语言 : 英语
- 文件大小 : 1327 KB
- 标准语音朗读 : 已启用
- X-Ray : 未启用
- 生词提示功能 : 未启用
- 纸书页数 : 464页
- 亚马逊热销商品排名: 商品里排第153,576名Kindle商店 (查看商品销售排行榜Kindle商店)
- 商品里排第175名Programming & Development(编程与开发)
- 用户评分:
购买此商品的顾客也同时购买
无顾客评论
5 星 (0%) |
|
0% |
4 星 (0%) |
|
0% |
3 星 (0%) |
|
0% |
2 星 (0%) |
|
0% |
1 星 (0%) |
|
0% |
此商品在美国亚马逊上最有用的商品评论

Do yourself a favor and read the sample, you'll learn things even in that short read.

It is not a book that teaches you. It is a scaffold you can use to teach yourself. Fortunately, there are many references in the book for additional information.
The 'Table of Content' looks promising (that is why I ordered the book) but I finished every chapter with disappointment and a mental note that 'damn, I need to look up this and that and come back'.
Maybe after a second or third read I will change my opinion - then I will come back and change my rating, but right now, considering the price, I can suggest this book only if your company pays for it - and your daily job is not that busy, so you have time for your own research based on the ideas of the book.


This is one of the best technology books - it's written in a style that is fun to read, and the material is precise and challenging.
