Comment Re:Because C and C++ multidimensional arrays suck (Score 3, Interesting) 634
Easily fixed with libraries like Eigen ( http://eigen.tuxfamily.org/ind... ) and many others.
That's the problem. There's no one way to represent a multidimensional array in C++. There are many ways. Which means math libraries using different ones are incompatible with each other. The last time I did a big number-crunching job in C++, I had four different array representations forced on me by different libraries.
Because the compiler has no clue what those array libraries are doing, you don't get basic loop optimizations that FORTRAN has had for 50 years.