You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/10/05 19:57:25 UTC

[GitHub] [incubator-nuttx] robertlipe commented on issue #6896: Reevaluate the C89 Requirement

robertlipe commented on issue #6896:
URL: https://github.com/apache/incubator-nuttx/issues/6896#issuecomment-1264780420

   It's often mentioned that the most humble, actively developed, compiler still in use is SDCC. I just stumbled across their [web page](https://sdcc.sourceforge.net/) for another project and the first sentence says, "SDCC is a retargettable, optimizing Standard C (ANSI C89, ISO C99, ISO C11) " That covers 8031, 8051, Z80, and many other relics.
   
   So even SDCC supports C11.  Enabling use of C11 (at least not flat out rejecting incremental use of it) would bring a huge list of benefits, including not alienating a generation of programmers making them use a language that may be older than they are.
   
   I get that C17 might be too radical. Raising the floor to C11 doesn't seem like crazy talk and would bring nice programmer conveniences. We left behind K&R once. (It was relevant for 11 years.) We can leave C89, too, since its first replacement is 23 years old. :-)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org