On Thu, 28 Jan 2021 16:26:37 +0000
Mark Shannon <m...@hotpy.org> wrote:
> Hi everyone,
> 
> PEP 7 says that C code should conform to C89 with a subset of C99 allowed.
> It's 2021 and all the major compilers support C11 (ignoring the optional 
> parts).

I think that CPython is supposed to compile on non-mainstream compilers
too (e.g. vendor-specific compilers on embedded platforms).  While
those are likely to support C99, they may not have caught up with C11.

> C11 has support for thread locals, static asserts, and anonymous structs 
> and unions. All useful features.

Native (fast!) thread locals are definitely useful. The other ones
you're listing are syntactic sugar.

Regards

Antoine.

_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/4RY4U2XSIDAPEEOIYVADCDVOY62V2X5D/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to