FYI, I'm working on something similar, but more of a map-reduce "worker/task" parallelism thing. Going to try to present my solution at the August Seattle meetup. >.>
https://www.reddit.com/r/rust/comments/29teem/an_experiment_in_forkjoin_parallelism_in_rust/ciyu8fz/
Neat. I'll try them out. I'm basically using tasks as semaphores so it isn't a huge surprise there.
https://www.reddit.com/r/rust/comments/29teem/an_experiment_in_forkjoin_parallelism_in_rust/ciolato/
Heh yeah I wrote this in the middle of the night instead of sleeping, so it has some issues ;)
https://www.reddit.com/r/rust/comments/29teem/an_experiment_in_forkjoin_parallelism_in_rust/cioin63/
Using semaphores is faster. https://gist.github.com/arjantop/2d341b9649167f03a394
https://www.reddit.com/r/rust/comments/29teem/an_experiment_in_forkjoin_parallelism_in_rust/cioesci/
I think it's a really nice interface! (at least before closure reform) Small sugestion: Use as for pointer→uint→pointer casts instead of unsafe transmutes. Also, raw_chunk seems to be unnec...
https://www.reddit.com/r/rust/comments/29teem/an_experiment_in_forkjoin_parallelism_in_rust/ciocyw5/