3 ms·
> And that's why languages such as C and C++ are not a reference implementation from a vendor but an international standard. Is that true though? I mean the sp
by dijit 6y ago
> And that's why languages such as C and C++ are not a reference implementation from a vendor but an international standard.
Is that true though? I mean the spec is so "loose" that most compilers don't even work with the same code if it has any level of serious complexity. Normally that's put under the rug of 'undefined behaviour' but imo it's a "vendored version" of the language, the most common variants being MSVC, GCC and CLANG, and even projects which make efforts to be agnostic or have many eyes (linux) can't support GCC _and_ CLANG easily.
- jononor 6y agoIf you move up from kernel level, many projects work with multiple compilers. For example most of the underlying libraries that are part of GNOME work with MSVC, GCC and CLANG. Probably also many more, but it does not tend to be tested much.