2 ms·
NIR is lean C89 with bits of c99/c11 and that alone is enough to favor it instead of anything else requiring a massive compiler able to understand without a fli
by sylware 5y ago
NIR is lean C89 with bits of c99/c11 and that alone is enough to favor it instead of anything else requiring a massive compiler able to understand without a flinch the insanely (usage of this word is fair) complex c++ syntax (c++11 c++14 c++17 c++20, etc).
As an AMD hardware user, I am sad that Lisa L. did not get the memo about c++ toxicity, neither Gabe from Valve, because even if ACO (the glue between AMD GPU isa and NIR) is far less worse than llvm, it still requires such c++ compiler. At least it is moving in the "right"(TM) direction. I wish ACO was like NIR, lean C89 with bits of c99/c11, that to keep the door open of reasonably working alternative C compilers.