2 ms·
Gotcha! So will Rust then auto-parallelize these "pure" closures?
by jaekwon 12y ago
Gotcha! So will Rust then auto-parallelize these "pure" closures?
- pcwalton 12y agoWe'd like to have generic APIs in the future that will allow idiomatic automatic data parallelization. Niko Matsakis has been thinking about this for quite a while. Stay tuned :) (Note that Servo has been using this type system feature for a while now to prevent data races in our massively parallel CSS layout code.)
- bjz_ 12y ago> Niko Matsakis has been thinking about this for quite a while. Stay tuned :) Arrg, you have me excited now!
- ufo 12y agoI wouldn't put my hopes very high on this. They tried doing this kind of ubiquitous automatic parallelization in Haskell but they ran into parallelization overhead issues because its very hard to have the computer figure out the correct parallelization granularity all by itself.