Scientific computing and parallel computing C++23/C++26

Leoarndo Palozzi lpalozzi at gmail.com
Sun Jan 16 16:32:18 UTC 2022


On Thursday, 13 January 2022 at 01:19:07 UTC, H. S. Teoh wrote:
> In the above example I literally just added ".parallel" to the 
> code and it Just Worked(tm).

So did I for my weekend raytracer (I am new to D and was 
pleasantly surprised how easy it was).

     foreach (i, ref pixel; parallel(image.pixels)) {...}




More information about the Digitalmars-d mailing list