Chili
Languages and libraries
parallelization library
SHOW HN2024
233points
42comments
#317of 3,515 in 2024
Top 10%of 2024 by points
How HN took it
LovedMost comments that take a side are positive
5 positive, 7 neutral or asking, 0 mixed, 0 critical, out of 12 comments about the project. Thread score +0.27.
Performance: 3 for, 0 againstIdea: 1 for, 0 againstDocs: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Low overhead makes it useful for small operations where rayon's overhead is a barrier
From 2 comments
I love this, the overhead of rayon always made it hard to gauge whether to use it for small operations (or could be small operations). This seems to solve that, at least for…
dangoodmanUT on HNRelatively, Rayon is higher overhead
internetter on HN
Clever approach explained clearly in Spice README
From 1 comment
Thanks. That’s some pretty clever stuff, with a nice intuitive description.
bee_rider on HN
Objections
Low-overhead claim questioned as vague marketing
From 1 comment
> a "low-overhead" parallelization library Who is out here building high-overhead parallelization libraries?
zbowling on HN
Requests
Blog post or benchmark explaining how it beats rayon
From 2 comments
I would love to see a blog post or more detail about how this implementation works and why it can beat rayon in some cases.
gfs on HNThat’s what I was wondering. Iiuc openmp uses work stealing and the spice readme talks about the inefficiency of that:…
marmaduke on HN
Questions
How does it compare to OpenMP?
From 2 comments
Out of curiosity, how do Spice/Chili/Rayon compare against the boring answer, OpenMP? I guess they must have some really neat capabilities.
bee_rider on HNWell, for one thing OpenMP is a c/c++ library, and chili and rayon are rust libraries. It's probably possible to use openmp from rust, but the interface probably isn't as nice,…
thayne on HN
Alternatives named
Rayon
From 2 comments
Rayon is known to have a higher overhead for the simple, and arguably most common case in numerical codes, static block size scheduling. Things get better, and you start to…
nestorD on HNRelatively, Rayon is higher overhead
internetter on HN
OpenMP
From 2 comments
Out of curiosity, how do Spice/Chili/Rayon compare against the boring answer, OpenMP? I guess they must have some really neat capabilities.
bee_rider on HNWell, for one thing OpenMP is a c/c++ library, and chili and rayon are rust libraries. It's probably possible to use openmp from rust, but the interface probably isn't as nice,…
thayne on HN
Ray (ray.io)
From 2 comments
Is there anything like ray.io in rust? Nobody running computations on clusters in rust?
jmakov on HNray.io seems to be doing pretty well financially...
jmakov on HN