High-Level Parallelism – Threadpools, Parallel Iterators and Processes

In previous chapters, we introduced the basic mechanisms of concurrency in the Rust—programming language. In Chapter 4, Sync and Send – the Foundation of Rust Concurrency, we discussed the interplay of the type system of Rust with concurrent programs, how Rust ensures memory safety in this most difficult of circumstances. In Chapter 5, Locks  Mutex, Condvar, Barriers and RWLock, we discussed the higher, so-called coarse, synchronization mechanisms available to us, common among many languages. In Chapter 6, Atomics – the Primitives of Synchronization, and Chapter 7, Atomics  Safely Reclaiming Memory, we discussed the finer synchronization primitives available on modern ...

Get Hands-On Concurrency with Rust now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.