by solarmist · 4y ago · 0 comments
C++ is a C variant. I think they were more getting at where’s Shader Pascal, Ruby, Lisp?
So to say all shader languages are based on C is as useful as saying they're all based on assembly. I'm not saying C++ style templates are good or bad but they're vastly more powerful than not having them and if you're using those other C based shader languages you'll end up having to do code generation in some other language to provide the same features as a C++ based shader language
There's also of course rust-gpu. I think it's fair to say that in 5 to 10 years we will no longer be writing shaders in C, but will have moved on to a higher level language.
Sure it's another language, but the C at it's core isn't going anywhere.