Comment by bee_rider
Out of curiosity, how do Spice/Chili/Rayon compare against the boring answer, OpenMP?
I guess they must have some really neat capabilities.
Out of curiosity, how do Spice/Chili/Rayon compare against the boring answer, OpenMP?
I guess they must have some really neat capabilities.
Well, 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, you would need some kind of translation layer from rust closures and iterators to the OpenMP API
That’s what I was wondering. Iiuc openmp uses work stealing and the spice readme talks about the inefficiency of that:
https://github.com/judofyr/spice?tab=readme-ov-file#work-ste...
so I’d be interested in seeing a benchmark.