Concurrency books — Rust¶
Async Rust: Unleashing the Power of Fearless Concurrency¶
Maxwell Flitton, Caroline Morton · 1st edition · O'Reilly Media · 2024
dedicated to concurrency · on the shelf
Chapters
- 1 Introduction to Async
- 2 Basic Async Rust
- 3 Building Our Own Async Queues
- 4 Integrating Networking into Our Own Async Runtime
- 5 Coroutines
- 6 Reactive Programming
- 7 Customizing Tokio
- 8 The Actor Model
- 9 Design Patterns
- 10 Building an Async Server with No Dependencies
- 11 Testing
Cited on: Actor model, Async functions as state machines, Async runtime (executor and reactor), Asynchrony, Buffered and bounded channels, Coroutine, Daemon and detached threads, Deadlock, Deterministic scheduling for tests, Idempotency, Join, Process, Publish-subscribe and broadcast, Race condition, Race detector, Reactive programming, Shared memory, Supervision, Task (async), Thread-local storage, Work stealing, Worker pool
Asynchronous Programming in Rust: Learn asynchronous programming by building working examples of futures, green threads, and runtimes¶
Carl Fredrik Samson · 1st edition · Packt Publishing · 2024
dedicated to concurrency · on the shelf · example code ↗
Chapters
- 1 Concurrency and Asynchronous Programming: a Detailed Overview
- 2 How Programming Languages Model Asynchronous Program Flow
- 3 Understanding OS-Backed Event Queues, System Calls, and Cross-Platform Abstractions
- 4 Create Your Own Event Queue
- 5 Creating Our Own Fibers
- 6 Futures in Rust
- 7 Coroutines and async/await
- 8 Runtimes, Wakers, and the Reactor-Executor Pattern
- 9 Coroutines, Self-Referential Structs, and Pinning
- 10 Creating Your Own Runtime
Cited on: Async and await, Async functions as state machines, Async runtime (executor and reactor), Callback, Concurrency models, Coroutine, Event loop, Fiber, Future and promise, Green threads and M:N scheduling, I/O multiplexing, I/O-bound and CPU-bound work, Multitasking, Pinning, Polling
Rust Atomics and Locks: Low-Level Concurrency in Practice¶
Mara Bos · 1st edition · O'Reilly Media · 2023
dedicated to concurrency · on the shelf · read it free ↗
Chapters
- 1 Basics of Rust Concurrency
- 2 Atomics
- 3 Memory Ordering
- 4 Building Our Own Spin Lock
- 5 Building Our Own Channels
- 6 Building Our Own “Arc”
- 7 Understanding the Processor
- 8 Operating System Primitives
- 9 Building Our Own Locks
- 10 Ideas and Inspiration
Cited on: Atomic variable, Blocking and non-blocking calls, Channel, Compare-and-swap, Concurrent data structures, Data race, Data-race freedom by construction, Happens-before, Interior mutability, Read-copy-update, Read-write lock, Scoped locking, Semaphore, Send and Sync, Sequential consistency, Spinlock, Structured concurrency, Thread safety, Weak memory models and reordering
Hands-On Concurrency with Rust: Confidently build memory-safe, parallel, and efficient software in Rust¶
Brian L. Troutwine · 1st edition · Packt Publishing · 2018
dedicated to concurrency · on the shelf · example code ↗
Chapters
- 1 Preliminaries – Machine Architecture and Getting Started with Rust
- 2 Sequential Rust Performance and Testing
- 3 The Rust Memory Model – Ownership, References and Manipulation
- 4 Sync and Send – the Foundation of Rust Concurrency
- 5 Locks – Mutex, Condvar, Barriers and RWLock
- 6 Atomics – the Primitives of Synchronization
- 7 Atomics – Safely Reclaiming Memory
- 8 High-Level Parallelism – Threadpools, Parallel Iterators and Processes
- 9 FFI and Embedding – Combining Rust and Other Languages
- 10 Futurism – Near-Term Rust
Cited on: Atomic variable, Barrier, Condition variable, Happens-before, Hazard pointers, Linearizability, Mutex, Parallel iterators and streams, Parallelism, Read-write lock, Send and Sync, Sequential execution, Speedup and Amdahl's law, Thread pool and executor
Ultimate Rust for Systems Programming: Master Core Programming for Architecting Secure and Reliable Software Systems with Rust and WebAssembly¶
Mahmoud Harmouch · 1st edition · Orange Education Pvt Ltd (AVA) · 2024
a concurrency chapter in a broader book · on the shelf · publisher ↗ · example code ↗
The concurrency chapters
- 7 Managing Concurrency
- 14 Asynchronous Programming
Cited on: Async runtime (executor and reactor)
Rust for Rustaceans: Idiomatic Programming for Experienced Developers¶
Jon Gjengset · 1st edition · No Starch Press · 2022
a concurrency chapter in a broader book · on the shelf · publisher ↗
The concurrency chapters
- 8 Asynchronous Programming
- 10 Concurrency (and Parallelism)
Cited on: Concurrency models, Data-race freedom by construction
Programming Rust: Fast, Safe Systems Development¶
Jim Blandy, Jason Orendorff, Leonora F. S. Tindall · 2nd edition · O'Reilly Media · 2021
a concurrency chapter in a broader book · on the shelf · example code ↗
The concurrency chapters
- 19 Concurrency
- 20 Asynchronous Programming
Cited on: Async runtime (executor and reactor), Fork-join, Pinning, Polling
Rust in Action¶
Tim McNamara · 1st edition · Manning Publications · 2021
a concurrency chapter in a broader book · on the shelf · publisher ↗ · example code ↗
The concurrency chapters
- 10 Processes, threads, and containers
Hands-On Microservices with Rust: Build, test, and deploy scalable and reactive microservices with Rust 2018¶
Denis Kolodin · 1st edition · Packt Publishing · 2019
a concurrency chapter in a broader book · on the shelf · example code ↗
The concurrency chapters
- 5 Understanding Asynchronous Operations with Futures Crate
- 6 Reactive Microservices - Increasing Capacity and Performance
- 10 Background Tasks and Thread Pools in Microservices
- 11 Involving Concurrency with Actors and the Actix Crate
The Rust Programming Language¶
Steve Klabnik, Carol Nichols · Covers Rust 2018 edition · No Starch Press · 2019
a concurrency chapter in a broader book · on the shelf · example code ↗
The concurrency chapters
- 16 Fearless Concurrency
- 20 Final Project: Building a Multithreaded Web Server
Cited on: Data-race freedom by construction, Message passing, Send and Sync
Rust Programming By Example: Enter the world of Rust by building engaging, concurrent, reactive, and robust applications¶
Antoni Boucher, Guillaume Gomez · 1st edition · Packt Publishing · 2018
a concurrency chapter in a broader book · on the shelf · example code ↗
The concurrency chapters
- 9 Implementing an Asynchronous FTP Server
- 10 Implementing Asynchronous File Transfer
Cited on: Async runtime (executor and reactor)
Mastering Rust: Advanced concurrency, macros, and safe database access¶
Vesa Kaihlavirta · 1st edition · Packt Publishing · 2017
a concurrency chapter in a broader book · on the shelf · example code ↗
The concurrency chapters
- 7 Concurrency
Rust Essentials: A quick guide to writing fast, safe, and concurrent systems and applications¶
Ivo Balbaert · 2nd edition · Packt Publishing · 2017
a concurrency chapter in a broader book · on the shelf · example code ↗
The concurrency chapters
- 9 Concurrency - Coding for Multicore Execution