News for hackers. Stuff that matters.
Re:Implementing a GPU's Programming Model on a CPU by kllrnohj on Saturday October 14, 2023 @09:41AM (#37880413)
DirectX 8 added programmable shaders as we mostly know it today in 2000 with directx 9's shader model 2.0 really solidifying things in 2002.

CUDA didn't show up until 2007.

Re:Implementing a GPU's Programming Model on a CPU by pjmlp on Sunday October 15, 2023 @03:51AM (#37887816)
Except that shaders predate DirectX 8 by several decades.

Two major examples,

https://en.m.wikipedia.org/wiki/TMS34010

https://en.m.wikipedia.org/wiki/RenderMan_Shading_Language

Also in DirectX 8, it wasn't as we know them today, because Assembly was the only programming language.

Nowadays CUDA does C, C++, Fortran, Python JIT in the box, and has partner collaborations for Haskell, Java, Julia, C#.