Closed
Description
Hi, any plans to support spawn on multiple computer nodes similar like Julia ( http://docs.julialang.org/en/latest/manual/parallel-computing/#parallel-map-and-loops ) does it:
require("count_heads")
a = @spawn count_heads(100000000)
b = @spawn count_heads(100000000)
fetch(a)+fetch(b)
The above code perform some trials on two machines, and add together the results.
nheads = @parallel (+) for i=1:100000000
int(randbool())
end
The above computation is automatically distributed across all available compute nodes, and the result, reduced by summation (+), is returned at the calling node.
I read about raspberry pi supercomputer (
http://www.tomshardware.com/news/Raspberry-Pi-Supercomputer-Legos-Linux,17596.html ) and just wondering whether Rust could do the same?
Mic