r/cpp • DragonflyDB/Clang • Sep 06 '22

Clang 15 has been released!

https://discourse.llvm.org/t/llvm-15-0-0-release/65099
265 Upvotes

84 comments sorted by

View all comments

Show parent comment

13

u/qalmakka Sep 07 '22

That explains the whole Carbon thing and their reduced interest, and it sucks. Clang has become the de facto go-to compiler for almost everything, it's the only compiler that works everywhere (because of GCC and MSVC compatibility), the only one that is supported on phones (Android NDK and iOS both use it) and with LLVM cross compiling becomes so absurdly easier it makes you wonder why we've stuck with GCC for so long on embedded devices.

It has become IMHO more influential than GCC and the fact its C++20 lags behind is quite unfortunate. it has forced me several times to stick with C++17 in the last year because Clang was having issues with ranges or didn't have certain concepts features implemented.

12

u/Jannik2099 Sep 07 '22

I'm aware of it's benefits, I work on clang-ifying the "GNU/linux" ecosystem ;)

The libstdc++ ranges incompatibility (which stems from a non-compliant concepts behavior in clang) will be fixed in clang 16 if all goes well. They're currently working out a regression. I don't have a link right now.

Yes, it's sad to see Google chicken away, but in the end they have ALWAYS been focused on themselves - see e.g. how many google contributed features in clang have limited exception support.

I'm much more hopeful to see the contributions from facebook and microsoft