std.parallelism equivalents for posix fork and multi-machine processing

Laeeth Isharc via Digitalmars-d digitalmars-d at puremagic.com
Wed May 13 14:23:57 PDT 2015


On Wednesday, 13 May 2015 at 20:34:24 UTC, weaselcat wrote:
> On Wednesday, 13 May 2015 at 20:28:02 UTC, Laeeth Isharc wrote:
>> Is there value to having equivalents to the std.parallelism 
>> approach that works with processes rather than threads, and 
>> makes it easy to manage tasks over multiple machines?
>
> I'm not sure if you're asking because of this thread, but see
>
> http://forum.dlang.org/thread/tczkndtepnvppggzmews@forum.dlang.org#post-tczkndtepnvppggzmews:40forum.dlang.org
>
> python outperforming D because it doesn't have to deal with 
> synchronization headaches. I found D to be way faster when 
> reimplemented with fork, but having to use the stdc API is 
> ugly(IMO)

yes - that is what spurred me to post,but it had been on my mind 
for a while (especially the multi-machine stuff).


More information about the Digitalmars-d mailing list