rayon-rs/rayon
View on GitHub ↗ ★ 13,419 Rust
Rayon: A data parallelism library for Rust
27 mentions on Hacker News by 25 people: 3 stories, 24 comments · first 2017-12-04 · latest 2025-09-29
20082026
-
This Rayon issue has a good discussion of rayon vs spice/chili. https://github.com/rayon-rs/rayon/issues/1235
comment by vulcan01 · 2025-09-29 · in Beyond OpenMP in C++ and Rust: Taskflow, Rayon, Fork Union -
https://github.com/rayon-rs/rayon
comment by estebank · 2024-02-10 · in Too dangerous for C++ -
…pros of rewriting some parts in Rust, it's that you can parallelize easily with Rayon[0] [0] -- https://github.com/rayon-rs/rayon
comment by wdroz · 2023-03-30 · in Making Python faster with Rust -
…- it runs on the GPU, and is awesome. On the CPU side, I think that Rust plus https://github.com/rayon-rs/rayon was a huge breakthrough on writing parallel programs using both functional and imperative programming, and future languages
comment by nextaccountic · 2023-03-05 · in Building a new functional programming language -
…at the discussion in the FAQ to get a sense of why it's useful to push mutability to the top level: https://github.com/rayon-rs/rayon/blob/master/FAQ.md As a counterpoint I'd like to link to a discussion about FP where Martin Thompson…
comment by dgb23 · 2023-02-20 · in Is parallel programming hard, and, if so, what can you do about it? [pdf] -
…next step is looking for libraries that you could leverage to make Python programs ultra fast. Here https://github.com/rayon-rs/rayon is an obvious choice, see some examples from the Rust cookbook https://rust-lang-nursery.github.io/rust-co…
comment by nextaccountic · 2023-02-04 · in Python's “disappointing” superpowers -
…in the standard library, but I recall this as the definitive library for data parallelism in Rust: https://github.com/rayon-rs/rayon
comment by ehsanu1 · 2022-09-28 · in Someone is pretending to be me -
…bugs away: - < https://github.com/BurntSushi/ripgrep > - < https://github.com/clap-rs/clap > - < https://github.com/rayon-rs/rayon > - < https://github.com/cloudflare/wrangler > - < https://github.com/sharkdp/fd >
comment by yakubin · 2022-05-19 · in The Rust Borrow Checker – A Deep Dive -
…of good ways to wire up a parallel work pool, but they do require more than a one line change. [0]: https://github.com/rayon-rs/rayon/issues/394
comment by coder543 · 2022-05-15 · in Intel's New Chimera: Alder Lake -
Rust is picking up momentum with industrial use but is overall still pretty uncommon. rayon ( https://github.com/rayon-rs/rayon ) makes it easy to use all your CPU cores. for simple cases, it can be literally a one line change to turn a…
comment by henning · 2022-02-26 · in Ask HN: Why are you programming your hobby projects in a niche language? -
I'm looking forward to something like the brilliant rayon parallel operations library https://github.com/rayon-rs/rayon We won't get data race free guarantees but if built into pandas or Vaex we can have a near transparent API. It'll…
comment by xbpx · 2021-10-18 · in Python stands to lose its GIL, and gain a lot of speed -
…/doc.rust-lang.org/book/ch16-01-threads.html ), along with incredibly powerful libraries like Rayon ( https://github.com/rayon-rs/rayon ) to take advantage of them. async/await wasn’t specifically targeted for that use case because it…
comment by anderskaseorg · 2021-06-17 · in Six ways to make async Rust easier -
Rust's Rayon library is pretty good for these use-cases https://github.com/rayon-rs/rayon use rayon::prelude::*; fn sum_of_squares(input: &[i32]) -> i32 { input.par_iter() // <-- just change that! .map(|&i| i * i) .sum() }
comment by nicoburns · 2021-02-15 · in A 1000-processor chip powered by an AA battery (2016) -
…[1] https://github.com/PyO3/maturin [2] https://github.com/PyO3/rust-numpy [3] https://github.com/rayon-rs/rayon [4] https://github.com/pierogis/pierogis
comment by ksm1717 · 2021-01-29 · in PyO3: Rust Bindings for the Python Interpreter -
…All of these languages/libraries use a dynamic scheduler for load-balancing: * Rayon (Rust) [ https://github.com/rayon-rs/rayon ] * Goroutines (Go) [ https://golangbyexample.com/goroutines-golang/ ] * OpenMP [ https://www.openmp.org/ ] *…
comment by shwestrick · 2020-11-03 · in Scipio: A Thread-per-Core Crate for Rust and Linux -
…of nondeterministic behavior. I think the Rayon FAQ does a good job of summarizing the problem: https://github.com/rayon-rs/rayon/blob/master/FAQ.md#but-wai... > Consider for example when you are conducting a search in parallel, say to…
comment by oconnor663 · 2020-06-22 · in Rust concurrency: the archetype of a message-passing bug -
You don't need await for data (CPU) parallelism. You'd typically use something like https://github.com/rayon-rs/rayon or OpenMP instead.
comment by floatboth · 2019-11-07 · in Async-await on stable Rust -
…changes in the way iterators split their workload, per current experiments in rayon-adaptive: https://github.com/rayon-rs/rayon/issues/616
comment by CUViper · 2019-07-02 · in Writing a small ray tracer in Rust and Zig -
…there. [1] https://github.com/sharkdp/hyperfine [2] https://github.com/uploadcare/pillow-simd [3] https://github.com/rayon-rs/rayon
comment by chriswitts · 2019-07-02 · in One Program Written in Python, Go, and Rust -
…docs.rs/crossbeam/0.3.2/crossbeam/struct.Scope.html#... For "parallel iterators", Rayon is excellent. https://github.com/rayon-rs/rayon For async I/O, the tokio library still demands solid Rust skills (at least until Rust 2018 lands), but…
comment by ekidd · 2018-06-09 · in First Impressions of the Rust Programming Language -
…are matures. Rayon, the Rust library getting most of the discussion in this thread, is now 1.0: https://github.com/rayon-rs/rayon/blob/master/RELEASES.md .
comment by kibwen · 2018-02-21 · in Why has CPU frequency ceased to grow? (2014) -
…research, I settled on using worker-farm to help) to produce a strictly inferior result. Rayon: https://github.com/rayon-rs/rayon worker-farm: https://www.npmjs.com/package/worker-farm
comment by chrismorgan · 2018-01-19 · in Keep Webpack Fast: A Field Guide for Better Build Performance -
…ttps://gain-performance.com/2017/05/14/umesimd-tutorial-8-c... https://github.com/AdamNiederer/faster https://github.com/rayon-rs/rayon
comment by mncharity · 2017-12-04 · in Faster: Fast numerical calculations in Rust