4 ms·
They could always do some fancy operating overloading to produce expression trees that are then converted into GPU codelike I did in this C# library I made a wh
by seanmcdirmid 14y ago
They could always do some fancy operating overloading to produce expression trees that are then converted into GPU codelike I did in this C# library I made a while ago (basically, call it a staged embedded DSL):
http://bling.codeplex.com/ http://bling.codeplex.com/
The idea works well for functional code (what pixel and vertex shaders basically are) but it doesn't really map well to more imperative GPGPU code.