Hacker ApprovedDepartments

Rayon

Hacker Approved

Ranked 2 of 8 Rust crates by recommenders

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.

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.

20 people gave an opinion

recommend it
18
criticize it
2
approval share
90%
Each figure is one person. RecommendsCriticizes

Recommended in 10 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 18 people recommend itNeeds 10 or more, met.
  • 9 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 10 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Easy parallelism with minimal code

    “It's shockingly easy to make a single-threaded Rust program use all the cores on a machine by slapping in Rayon”

    Comment from 11 Oct 2026 in “Valen's Memory Safety: A New Kind of Borrow Checking”

    “The Rust library was fully multithreaded in an afternoon by importing Rayon behind a cargo feature”

    Comment from 19 Jan 2026 in “Fil-Qt: A Qt Base build with Fil-C experience”

    “made jumping from hello world to parallel/concurrent execution pretty simple”

    Comment from 3 Feb 2026 in “When rust ≠ performance. a lesson in developer experience”
  • Safe, fearless concurrency in Rust

    “Rust's type system also allows you to make safe interfaces like Rayon that do genuinely allow for "fearless" concurrency”

    Comment from 11 Oct 2026 in “Valen's Memory Safety: A New Kind of Borrow Checking”

    “For what I do I rarely need mutexes, instead either rayon or message passing work well.”

    Comment from 13 Oct 2026 in “Valen's Memory Safety: A New Kind of Borrow Checking”
  • Fast for CPU-bound workloads

    “We use rayon where cache locality penalty is minor compared to the millisecond latency gains”

    Comment from 16 Jul 2026 in “The Tokio/Rayon Trap and Why Async/Await Fails Concurrency”

    “My decade-old PC can sort 2 billion hashes in about 30 seconds using the Rust "Rayon" crate.”

    Comment from 8 Nov 2025 in “Two billion email addresses were exposed”

    “I have mostly written intra-node code for which rayon has been adequate.”

    Comment from 17 Apr 2026 in “30 Years of HPC: many hardware advances, little adoption of new languages”
  • Great multi-processing experience overall

    “rayon is the most amazing multi-processing experience I've ever had!”

    Comment from 9 May 2026 in “Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc”

    “Rayon sort of is that dream for CPU thread pools!”

    Comment from 28 Jan 2026 in “Rust's Standard Library on the GPU”

What people warn about

Each mark is one comment

  • Not flexible enough for some uses

    “the libraries just don't work for what we want to use it for”

    Comment from 16 Jul 2026 in “The Tokio/Rayon Trap and Why Async/Await Fails Concurrency”

    “the abstractions are not always flexible/convenient enough”

    Comment from 16 Jul 2026 in “The Tokio/Rayon Trap and Why Async/Await Fails Concurrency”

Other Rust crates people recommend

The four most recommended other Rust crates, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Rayon compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
anyhow (Rust crate)341077%5—Approved
RayonThis page18290%10—Approved
thiserror16867%5—Approved
rand crate9375%4——
Facet (Rust reflection library)6275%4——
See all 8 Rust crates, ranked

What people said

All 20 comments that mention it, newest first. Each links to the original comment.

“For what I do I rarely need mutexes, instead either rayon or message passing work well.”

RecommendsComment from 13 Oct 2026 in “Valen's Memory Safety: A New Kind of Borrow Checking”

“Rust's type system also allows you to make safe interfaces like Rayon that do genuinely allow for "fearless" concurrency”

RecommendsComment from 11 Oct 2026 in “Valen's Memory Safety: A New Kind of Borrow Checking”

“It's shockingly easy to make a single-threaded Rust program use all the cores on a machine by slapping in Rayon”

RecommendsComment from 11 Oct 2026 in “Valen's Memory Safety: A New Kind of Borrow Checking”

“This ended up working fine”

RecommendsComment from 16 Aug 2026 in “Asynchronous I/O in DuckDB: Work, Thread, Work”

“Here is an interesting video about it”

RecommendsComment from 16 Jul 2026 in “The Tokio/Rayon Trap and Why Async/Await Fails Concurrency”

“the abstractions are not always flexible/convenient enough”

CriticizesComment from 16 Jul 2026 in “The Tokio/Rayon Trap and Why Async/Await Fails Concurrency”

“We use rayon where cache locality penalty is minor compared to the millisecond latency gains”

RecommendsComment from 16 Jul 2026 in “The Tokio/Rayon Trap and Why Async/Await Fails Concurrency”

“It solved a runtime starvation issue for us at work, spawn_blocking did not work.”

RecommendsComment from 16 Jul 2026 in “The Tokio/Rayon Trap and Why Async/Await Fails Concurrency”

“calling Tokio + Rayon bad because they explicitly don't do this is a bit of a miss”

RecommendsComment from 16 Jul 2026 in “The Tokio/Rayon Trap and Why Async/Await Fails Concurrency”

“the libraries just don't work for what we want to use it for”

CriticizesComment from 16 Jul 2026 in “The Tokio/Rayon Trap and Why Async/Await Fails Concurrency”

“rayon is the most amazing multi-processing experience I've ever had!”

RecommendsComment from 9 May 2026 in “Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc”

“which presumably has some overhead”

MixedComment from 19 Apr 2026 in “The seven programming ur-languages”

“I have mostly written intra-node code for which rayon has been adequate.”

RecommendsComment from 17 Apr 2026 in “30 Years of HPC: many hardware advances, little adoption of new languages”

“Since you're using Rayon for the multicore side”

MixedComment from 21 Mar 2026 in “How HN: Ironkernel – Python expressions, Rust parallel”

“Dead simple parallel processing.”

RecommendsComment from 5 Feb 2026 in “Show HN: Toktrack – 1000x faster AI CLI cost tracker (Rust and SIMD)”

“made jumping from hello world to parallel/concurrent execution pretty simple”

RecommendsComment from 3 Feb 2026 in “When rust ≠ performance. a lesson in developer experience”

“Rayon sort of is that dream for CPU thread pools!”

RecommendsComment from 28 Jan 2026 in “Rust's Standard Library on the GPU”

“The Rust library was fully multithreaded in an afternoon by importing Rayon behind a cargo feature”

RecommendsComment from 19 Jan 2026 in “Fil-Qt: A Qt Base build with Fil-C experience”

“I skipped the root cause analysis and kept the original rayon design.”

RecommendsComment from 24 Dec 2025 in “Show HN: DeepSearch – a high-performance SMB directory scanner in Rust”

“My decade-old PC can sort 2 billion hashes in about 30 seconds using the Rust "Rayon" crate.”

RecommendsComment from 8 Nov 2025 in “Two billion email addresses were exposed”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.