John Carmack on multi dimensional arrays(twitter.com)
twitter.com
John Carmack on multi dimensional arrays
https://twitter.com/ID_AA_Carmack/status/1401959248507047948
3 comments
in my experience, language-supported MD arrays aren't great. I think what numpy does under the hood (define a pointer to allocated memory, along with a struct that defines the data type and array dimensions) is probably the best approach. This has worked in C since John started programming in it.