I used to be skeptical of Rust as a shading language because I felt the abstraction features were overkill, but then I read Unity's HLSL includes. That's a lot of... creative C preprocessor use.
Replying to @pcwalton
You might be interested in Slang, which shows how Rustic generics/traits are useful for a zero-cost + modular representation of shader abstractions. https://dl.acm.org/doi/pdf/10.1145/3197517.3201380 …
(cc @TangentVector)
0 replies
1 retweet
6 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD