←back to thread

The C23 edition of Modern C

(gustedt.wordpress.com)
515 points bwidlar | 1 comments | | HN request time: 2.321s | source
Show context
israrkhan ◴[] No.41855279[source]
Most important aspect of C is its portability. From small microcontrollers to almost any computing platform. I doubt that any new version of C will see that much adoption.

If I want to live on cutting edge I would rather use C++2x or Rust rather than C.

Am I missing something? What benefit this supposedly modern C offers?

replies(7): >>41855343 #>>41855410 #>>41855595 #>>41855880 #>>41856401 #>>41858691 #>>41860058 #
vitaminka ◴[] No.41855343[source]
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

replies(1): >>41855853 #
bboygravity ◴[] No.41855853[source]
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.
replies(2): >>41855978 #>>41855982 #
vitaminka ◴[] No.41855982[source]
most non-embedded and non-legacy codebases could use c23, that's not an insignificant set
replies(1): >>41886816 #
1. bboygravity ◴[] No.41886816[source]
I would argue that is an insignificant set.

Unless you think that code-bases created in the past year are a significant part of code bases that have been created since the inception of humanity.