4 ms·
Looks great! Just high level enough for me to understand and easily readable. Haskell style pure functions are a natural fit for shaders that are side effect f
by sfvisser 3y ago
Looks great! Just high level enough for me to understand and easily readable.
Haskell style pure functions are a natural fit for shaders that are side effect free by design. Wonder how far you can go with abstractions like applicative functors for generic vector math etc. Could be quite powerful and when properly inlined without any perf hit.
- pjmlp 3y agoCurrently Futhark seems one of the best ways into that direction.