# Rayon

> Simple work-stealing data parallelism for Rust

Source: https://talira.ai/catalog/rayon-v8py8bem
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / concurrency](https://talira.ai/categories/libraries/concurrency), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT OR Apache-2.0[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [rayon-rs](https://talira.ai/orgs/rayon-rs.md)

Rayon is a lightweight data-parallelism library for Rust that turns sequential computations into parallel ones, usually by changing iter() to par_iter(). Its parallel iterators decide how to split the work into tasks and adapt dynamically, backed by a work-stealing thread pool; join and scope create parallel tasks by hand, and custom thread pools replace the global one. Its APIs guarantee data-race freedom, so code that compiles generally does what the sequential version did, with side effects possibly in a different order. Dual-licensed MIT or Apache-2.0.

## Links

- GitHub: https://github.com/rayon-rs/rayon
- Docs: https://docs.rs/rayon/

## Problems it solves

- make a loop over a large vector in Rust use all my CPU cores
- parallelise an iterator chain in Rust without managing threads
- split recursive work like a parallel quicksort across threads safely in Rust

## Features

- parallel iterators: change iter() to par_iter()
- work-stealing scheduler that adapts task splitting dynamically
- join and scope for creating parallel tasks by hand
- custom thread pools alongside the global pool
- data-race freedom guaranteed by its APIs

## Trust

Overall: 0.53 out of 1.
Signals: maintenance 0.50, adoption 0.83, momentum 0.60, community 0.88, backing 0.30, extensibility 0.00.

- last commit 33 days ago
- 8 commits in the last 90 days
- 13.5k GitHub stars
- 161 contributors
- backed by rayon-rs

## Alternatives

- [Crossbeam](https://talira.ai/catalog/crossbeam-vgjk9mk6.md): Tools for concurrent programming in Rust: channels, queues, atomics and scoped threads

## Sources

[^1]: https://github.com/rayon-rs/rayon/blob/main/README.md (checked 27 Nov 2026)
[^2]: https://github.com/rayon-rs/rayon/blob/main/Cargo.toml (checked 27 Nov 2026)
