Mir Slice Column or Row Major

jmh530 john.michael.hall at gmail.com
Wed May 27 16:53:37 UTC 2020


On Wednesday, 27 May 2020 at 16:07:58 UTC, welkam wrote:
> On Wednesday, 27 May 2020 at 01:31:23 UTC, data pulverizer 
> wrote:
>> column major
>
> Cute puppies die when people access their arrays in column 
> major.

Not always true...many languages support column-major order 
(Fortran, most obviously). The Eigen C++ library allows the user 
to specify row major or column major. I had brought this up with 
Ilya early on in mir and he thought it would increase complexity 
to allow both and could also require more memory. So mir is row 
major.


More information about the Digitalmars-d-learn mailing list