Rust Concurrency

Pick the concurrency model from the workload shape — rayon for data parallelism, scoped threads for borrowed stack data, channels for handoff, shared state last — and use the weakest correct atomic ordering. Use when writing or reviewing threaded Rust, when Mutex, RwLock, atomics, or manual Send/Sync appear, when a deadlock or data race is suspected, or when the user asks how to parallelize Rust code.

rewrite-rs Updated 18 repo stars

File contents

rewrite-rs/skills commit f0506022fb

Frequently asked questions

npx get-skill add rewrite-rs/rust-concurrency