Code examples, data structures, and links from my book, Rust Atomics and Locks.
OTHER License
🦀 A peer-reviewed collection of articles/talks/repos which teach concise, idiomatic Rust.
A comparison of operating systems written in Rust
Linux futex-based synchronization
The fast async mutex which uses spinlock algorithm with using waker
Compact and efficient synchronization primitives for Rust. Also provides an API for creating cust...
A realtime-safe single-producer single-consumer (SPSC) ring buffer
An implementation of Craig and, indenpendently, Magnussen, Landin, and Hagersten queue lock for m...
OS kernel labs based on Rust/C Lang & RISC-V 64/X86-32
Rust是未来前端基础设施
An interpreter for Rust's mid-level intermediate representation
Safe Rust bindings to POSIX-ish APIs
Safe concurrency in D (`shared` made easier)
Material I come across which is beneficial in reading through to learn the language
A Mutex/RwLock that helps you sanity check your concurrent algorithm and becomes zero-cost with t...
Examples from tutorial and other documentations of Rust.