A look at Chapel, D, and Julia using kernel matrix calculations

9il ilyayaroshenko at gmail.com
Sat May 23 14:18:54 UTC 2020


On Friday, 22 May 2020 at 14:13:50 UTC, kinke wrote:
> On Friday, 22 May 2020 at 01:58:07 UTC, data pulverizer wrote:
>> Comments welcome.
>
> Thx for the article. - You mention the lack of multi-dim array 
> support in Phobos; AFAIK, that's fully intentional, and the 
> de-facto solution is 
> http://docs.algorithm.dlang.io/latest/mir_ndslice.html.
>
> As you suspect SIMD potential being left on the table by LDC, 
> you can firstly use -mcpu=native to enable advanced 
> instructions supported by your CPU, and secondly use 
> -fsave-optimization-record to inspect LLVM's optimization 
> remarks (e.g., why a loop isn't auto-vectorized etc.). -O5 is 
> identical to -O3, which is identical to -O.

docs.algorithm.dlang.io is outdated.

The new docs home is
http://mir-algorithm.libmir.org/mir_ndslice.html


More information about the Digitalmars-d mailing list