But is that language actually bad, or is it just not your favourite language?
What don't you like about it?
But is that language actually bad, or is it just not your favourite language?
What don't you like about it?
AFAIK: It's a mostly-but-not-100% textual equivalent of SPIR-V that, syntax-wise, is a weird hodgepodge of all the other shader languages. At the same time, it's rare it'll be actually written by hand by humans - it'll mostly be generated from another language at application build time, and then it'll have to be compiled back into bytecode by the browser, which feels like really redundant work.
Further, it's often said that the main reason the language exists in the first place is because Apple veto'd SPIR-V due to their legal disputes with Khronos. I'm assuming that's why the comment above called it "ad-hoc".
C++ is a safer, more expressive superset of C89.
Also those dialects aren't C++, they are based in C++, which isn't the same.