Parallelism in Rust usually means one of three things:
- Data-parallel CPU work (split work across cores)
- Task parallelism (run independent CPU tasks concurrently)
- Async concurrency (lots of I/O, not CPU parallel by default)
When making things go parallel, there are following things to consider. Safe parallel code comes from being …