On 8/10/2025 8:10 AM, david.k...@libertysurf.fr wrote:
C11 added many features for modern software (multitasking support, etc).

C11 vs. C99 Compiler Features

- VLAs optional: Yay, do not need to implement
- anonymous struct nesting: Anyone care?
- _Generic macros: Anyone care?
- _Noreturn: Please don't use
- alignment specs: Anyone care?
- _Static_assert: Anyone care?

C11 vs. C99 Standard Library Features

Library features, not compiler, so not blocking tcc v1...

- threads.h: Who cares? Multitasking in C99 with pthreads.h
- stdatomic.h: Nice for multiprocessing, what is status for tcc?
- uchar.h: Just say no to Unicode, use UTF-8
- stdio.h gets() removed: yes, should use gets_s instead

Robin








Let's say C99 should be covered indeed, 25 years in the making, but C11 
shouldn't be ditched.

Regards.

----- Mail d'origine -----
De: Страхиња Радић <s...@strahinja.org>
À: tinycc-devel@nongnu.org
Envoyé: Sun, 10 Aug 2025 13:46:36 +0200 (CEST)
Objet: Re: [Tinycc-devel]  Re : Re:  VERSION Number 1.0

Дана 25/08/09 11:16AM, david.k...@libertysurf.fr написа:
Full C99 or C11 support ? C11 is safer and more "up to date" :

https://web.archive.org/web/20200806193736/https://smartbear.com/blog/test-and-monitor/c11-a-new-c-standard-aiming-at-safer-programming/

Hence C11 should be getting way more prevalent in the existing source code out 
there :

C99 is the version of C standard which is preferred by the suckless
movement. I think that the current main goal of tcc development should
be focused on full support for C99. Core values behind tcc -
simplicity, efficiency and frugality in software - are shared with the
suckless movement, so having a simple, fast and efficient complete C99
compiler would benefit the community more than diverting attention to
the simultaneous development of C11 features.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


--
Robin Rowe
310-359-8796

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to