5 ms·
Any big projects that doesn't compile without C23 support?
by oguz-ismail 1y ago
Any big projects that doesn't compile without C23 support?
- flohofwoe 1y agoNot yet AFAIK, but unlike the 'inbetween' versions since C99, C23 actually has a number of really useful features, so I expect that a couple of projects will start using C23 features. The main problem is as always MSVC, but then maybe its time to ditch MSVC support since Microsoft also seems to have abandondend it (not just the C compiler, but also the C++ compiler isn't seeing lots of updates since everybody working on Visual Studio seems to have been reassigned to work in the AI salt mines).
- pjmlp 1y agoAnd Rust, as the official system programming language for Azure. However there are several C++23 goodies on latest VC++, finally. Also lets not forget Apple and Google no longer are that invested into clang, rather LLVM. It is up for others to bring clang up to date regarding ISO.
- flohofwoe 1y agoClang's support for C23 looks actually pretty good: https://en.cppreference.com/w/c/compiler_support/23.html https://en.cppreference.com/w/c/compiler_support/23.html (not sure how much Apple/Google even cared about the C frontend before though, but at least keeping the C frontend and stdlib uptodate by far doesn't require as much effort as C++).
- pjmlp 1y agoApple used to care before Swift, because Objective-C unlike C++, is a full superset from C. Most of the work going into LLVM ecosystem is directly into LLVM tooling itself, clang was started by Apple, and Google picked up on it. Nowadays they aren't as interested, given Swift, C++ on Apple platforms is mostly for MSL (C++14 baseline) and driver frameworks (also a C++ subset), Google went their own way after the ABI drama, and they care about what fits into their C++ style guide. I know Intel is one of the companies that picked up some of the work, yet other compiler vendors that replaced their proprietary forks with clang don't seem that eager to contribute upstream, other than LLVM backends for their platforms. Such is the wonders of Apache 2.0 license.
- 1718627440 1y agoLadybird.
- Narishma 1y agoIsn't that C++?