News for hackers. Stuff that matters.
Re:DCompute: GPGPU with Native D for OpenCL and CUDA by nicwilson on Monday July 17, 2017 @08:07PM (#14793356)
No. What Walter is talking about in D is if you have

Foo[] foo = ...;

foreach(f; foo) { f.bar.baz.quux; }

and the computation is parallelisable then you can write

import std.parallelism; foreach(f; parallel(foo)) { f.bar.baz.quux; }

and it will parallelised across threads.

I guess std.parallelism's parallel might be more analogous to an "instance" of an executor.

Re:DCompute: GPGPU with Native D for OpenCL and CUDA by VHRanger on Thursday July 20, 2017 @03:05PM (#14815386)
So that's similar to OpenMP parallel for looping?