跳到主要内容

Rust Atomics and Locks 中文翻译

简介

《Rust Atomics and Locks》by Mara Bos 是一本围绕 Rust 并发底层原语(atomics、锁、内存排序、操作系统支撑等)的实用书籍。 总体来说,它不是一本入门 Rust 的书,而是专门针对并发和底层细节的深度资料。

目标读者

  • 对并发和底层原理感兴趣的 Rust 程序员
  • 对跨语言并发机制感兴趣的工程师
  • 已经具备基本 Rust 并发经验的进阶读者

内容目录

前言

第 1 章:Rust 并发基础(Basics of Rust Concurrency)

第 2 章:原子操作(Atomics)

第 3 章:内存顺序(Memory Ordering)

第 4 章:构建我们自己的自旋锁(Building Our Own Spin Lock)

第 5 章:构建我们自己的通道(Building Our Own Channels)

第 6 章:构建我们自己的 “Arc”(Building Our Own “Arc”)

第 7 章:理解处理器(Understanding the Processor)

第 8 章:操作系统原语(Operating System Primitives)

第 9 章:构建我们自己的锁(Building Our Own Locks)

第 10 章:思路与灵感(Ideas and Inspiration)

翻译进度

  • 第 8 章:操作系统原语(Operating System Primitives)
  • 第 9 章:构建我们自己的锁(Building Our Own Locks)
  • 第 10 章:思路与灵感(Ideas and Inspiration)