DIP80: phobos additions

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 12 20:23:07 PDT 2015


On 13/06/2015 7:45 a.m., jmh530 wrote:
> On Friday, 12 June 2015 at 17:56:53 UTC, Tofu Ninja wrote:
>
>> Matrix math is matrix math, it being for ogl makes no real difference.
>
> I think it’s a little more complicated than that. BLAS and LAPACK (or
> variants on them) are low-level matrix math libraries that many
> higher-level libraries call. Few people actually use BLAS directly. So,
> clearly, not every matrix math library is the same. What differentiates
> BLAS from Armadillo is that you can be far more productive in Armadillo
> because the syntax is friendly (and quite similar to Matlab and others).
>
> There’s a reason why people use glm in C++. It’s probably the most
> productive way to do matrix math with OpenGL. However, it may not be the
> most productive way to do more general matrix math. That’s why I hear
> about people using Armadillo, Eigen, and Blaze, but I’ve never heard
> anyone recommend using glm. Syntax matters.

The reason I am considering gl3n is because it is old solid code. It's 
proven itself. It'll make the review process relatively easy.
But hey, if we want to do it right, we'll never get any implementation in.


More information about the Digitalmars-d mailing list