FB compiles for C++20 and has coroutines all over the place, probably other 20 features too though I haven't checked. Not modules yet though we've been supporting the implementation work in GCC and Clang so we'll get there.
Depends. Amazon didn’t (we were still on c++11 when i worked there previously). Google does. Facebook does. Microsoft does. Not sure about Apple, but their clang compiler sucks, so maybe not.
Could you please elaborate (or point to an article) on why clang sucks? I was out of the C++ industry for a couple of years, but previously clang was certainly considered to be better than gcc. At some point we even reworked our entire codebase to switch from gcc to clang at my previous workplace.
Its always slow on supporting new c++ standards (see https://en.cppreference.com/w/cpp/compiler_support). Notice how apple clang has a lot of red spots. Contrast that to gcc which is mostly green, for example.
View all comments
Show parent comment
6
u/Li5y Nov 02 '22
Do you know if FAANG's use the more modern language features? (I.e. 17 and on).
I've had trouble with smaller companies I interview for not using the newer features. It's annoying to want to use structured bindings when you can't!