top | item 41855343

(no title)

vitaminka | 1 year ago

these features will eventually trickle down into the mainstream, kind of like C11 is doing at the moment

also, unless you're targeting embedded or a very wide set of architectures, there's no reason why you couldn't start using C23 today

discuss

order

bboygravity|1 year ago

Or in other words, for embedded and existing code: most use c99, some use c11 and nobody uses c23 until at least 10 years from now.

dhhfss|1 year ago

This depends on the platform. Many embedded systems are based on arm these days and have modern toolchains available.

I cannot remember the last time I saw C99 used. C codebases generally use C11 or C17, and C++ code bases use C++20

vitaminka|1 year ago

most non-embedded and non-legacy codebases could use c23, that's not an insignificant set