DIP80: phobos additions

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 13 01:45:18 PDT 2015


On Friday, 12 June 2015 at 17:56:53 UTC, Tofu Ninja wrote:
> On Friday, 12 June 2015 at 17:10:08 UTC, jmh530 wrote:
>> On Friday, 12 June 2015 at 03:35:31 UTC, Rikki Cattermole 
>> wrote:
>>
>>> Humm, work on getting gl3n into phobos or work on my ODBC 
>>> driver manager. Tough choice.
>>
>> I can only speak for myself. I'm sure there's a lot of value 
>> in solid ODBC support. I use SQL some, but I use matrix math 
>> more.
>>
>> I'm not that familiar with gl3n, but it looks like it's meant 
>> for the math used in OpenGL. My knowledge of OpenGL is 
>> limited. I had some cursory interest in the developments of 
>> Vulkan earlier in March, but without much of a background in 
>> OpenGL I didn't follow everything they were talking about. I 
>> don't think many other languages include OpenGL support in 
>> their standard libraries (though I imagine game developers 
>> would welcome it).
>
> Matrix math is matrix math, it being for ogl makes no real 
> difference.

The tiny subset of numerical linear algebra that is relevant for 
graphics (mostly very basic operations, 2,3 or 4 dimensions) is 
not at all representative of the whole. The algorithms are 
different and the APIs are often necessarily different.

Even just considering scale, no one sane calls in to BLAS to 
multiply a 3*3 matrix by a 3 element vector, simultaneously no 
one sane *doesn't* call in to BLAS or an equivalent to multiply 
two 500*500 matrices.


More information about the Digitalmars-d mailing list