by mindv0rtex · 6y ago · 0 comments
Actually it's 7 [1]
But in my future backend revamp I plan to make the default 6 [2]
Note that the line can easily be updated to
const MAXRANK* {.intdefine.} = 6
as in the planned revamp and then you would be able to change the MAXRANK with a compile parameter nim c -d:MAXRANK=16 path/to/my/app
[1]: https://github.com/mratsim/Arraymancer/blob/6fddfa9a734ac01c...[2]: https://github.com/numforge/laser/blob/d1e6ae6106564bfb350d4...
But unless you actually extend Arraymancer to more than 6 dimensions, you will likely lose some speed and convenience.
mratsim is a magician. Both Arraymancer (tensor library) and weave (multithreading core) are comparable and in some way better than other similar runtimes, despite being written by one person who is working on other projects as well.