# Rayon

18 Hacker News commenters recommended Rayon and 2 criticized it, November 2025 to November 2026. It was recommended in 10 of 13 months. It meets the Hacker Approved badge rule.

**Verdict:** People recommend it for adding multicore parallelism to Rust code with very little effort, and for its safe, simple parallel iterators. Critics say its abstractions are sometimes not flexible enough.

## Why people recommend it

- Easy parallelism with minimal code (4 comments): "It's shockingly easy to make a single-threaded Rust program use all the cores on a machine by slapping in Rayon" ([source](https://news.ycombinator.com/item?id=50046618)) "The Rust library was fully multithreaded in an afternoon by importing Rayon behind a cargo feature" ([source](https://news.ycombinator.com/item?id=46678065)) "made jumping from hello world to parallel/concurrent execution pretty simple" ([source](https://news.ycombinator.com/item?id=46878044))
- Safe, fearless concurrency in Rust (2 comments): "Rust's type system also allows you to make safe interfaces like Rayon that do genuinely allow for "fearless" concurrency" ([source](https://news.ycombinator.com/item?id=50046943)) "For what I do I rarely need mutexes, instead either rayon or message passing work well." ([source](https://news.ycombinator.com/item?id=50066991))
- Fast for CPU-bound workloads (3 comments): "We use rayon where cache locality penalty is minor compared to the millisecond latency gains" ([source](https://news.ycombinator.com/item?id=48931274)) "My decade-old PC can sort 2 billion hashes in about 30 seconds using the Rust "Rayon" crate." ([source](https://news.ycombinator.com/item?id=45853429)) "I have mostly written intra-node code for which rayon has been adequate." ([source](https://news.ycombinator.com/item?id=47807062))
- Great multi-processing experience overall (2 comments): "rayon is the most amazing multi-processing experience I've ever had!" ([source](https://news.ycombinator.com/item?id=48078423)) "Rayon sort of is that dream for CPU thread pools!" ([source](https://news.ycombinator.com/item?id=46789876))

## What people warn about

- Not flexible enough for some uses (2 comments): "the libraries just don't work for what we want to use it for" ([source](https://news.ycombinator.com/item?id=48930195)) "the abstractions are not always flexible/convenient enough" ([source](https://news.ycombinator.com/item?id=48931396))

## Alternatives hackers recommend

- [anyhow (Rust crate)](https://hackerapproved.com/p/anyhow.md): 34 recommend
- [thiserror](https://hackerapproved.com/p/thiserror.md): 16 recommend
- [rand crate](https://hackerapproved.com/p/rand-crate.md): 9 recommend
- [Facet (Rust reflection library)](https://hackerapproved.com/p/facet.md): 6 recommend
- [Surelock](https://hackerapproved.com/p/surelock.md): 6 recommend

## Cite as

Hacker Approved, "Rayon", https://hackerapproved.com/p/rayon/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
