Skip to content

spawn on multiple computer nodes #6152

Closed
@mictadlo

Description

@mictadlo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions