Spaceman
Spaceman

Reputation: 1205

Map-reduce framework in D lang

looking for any map-reduce framework (even the smallest one) written in D.

Is there anything?

Thank you.

Upvotes: 3

Views: 344

Answers (2)

kirill_igum
kirill_igum

Reputation: 3993

There is MapReduce-MPI. It is written in C++ but callable from C, which means callable from D.

keep in mind though there is no fault tolerance because MPI doesn't have fault tolerance.

Upvotes: 1

Kozzi11
Kozzi11

Reputation: 2413

For basic map reduce funcionality you can use phobos library.

For non-parallel task use std.algorithm http://dlang.org/phobos/std_algorithm.html#map and http://dlang.org/phobos/std_algorithm.html#reduce

For parallel use std.parallelism: http://dlang.org/phobos/std_parallelism.html#.TaskPool.map and http://dlang.org/phobos/std_parallelism.html#.TaskPool.reduce

Upvotes: 8

Related Questions