salsa-rs / salsa

A generic framework for on-demand, incrementalized computation. Inspired by adapton, glimmer, and rustc's query system.
https://salsa-rs.netlify.app/
Apache License 2.0
2.09k stars 142 forks source link

Support rayon-like parallel execution #495

Open nikomatsakis opened 2 months ago

nikomatsakis commented 2 months ago

Salsa today supports parallelism but in a kind of heavyweight way. It should be possible to easily "map" a query across a long list of inputs using rayon-like parallel processing -- maybe we can even literally use rayon. I haven't put much thought into this. I also want to get rid of the "sendable vs not-sendable" database distinction. Let's just require everything to be sendable and be done with it.