Overview
| Artifact ID: | 20deb4dd2cbf0ae0625f3712171b169c34135cca3a7c82754937bb60e82cd916 |
|---|---|
| Page Name: | branch/c-std-update |
| Date: | 2025-11-17 09:33:24 |
| Original User: | dkf |
| Mimetype: | text/x-markdown |
| Parent: | c6ac0dda8fd6e7d786c4771c0a90577dbaf46e250e923b716ad9280571e7be0f (diff) |
| Next | 509155e35fbd5e560b1a56c309531df918ad504e8cc509b373525aa1d3e0129c |
Content
This branch is looking at the things we can do by adopting C11 features (as opposed to just C89) more consistently.
The following branches (organised by enabling underlying language feature) are derived from this one:
- Feature: Anonymous Structure Members
- Feature: Booleans
- Feature: Comments with //
- There is no branch for changing comment styles (
/* ... */to// ...); we can, but it makes no sense to prioritise doing so at all and it makes only the smallest of readability difference. Change when it makes sense to do it as part of some other activity, not before. (Note however that this comment style has been sneaking into Tcl for some time; it crops up in quite a few places in the 9.0 codebase.)
- There is no branch for changing comment styles (
- Feature: Flexible Variable Declarations
c11-tcloo-foreachc11-full-hash-foreach(extended version)
- Moving variable declarations around inside functions isn't very high value and yet is very noisy. Outside of doing things like making iteration neater (in the branches above, where the demonstrated gains are stronger), it's not worth putting a lot of effort into specifically, but can easily be done incrementally as part of other work.
- Feature: Type-Generic Functions
- Feature: Non-Constant Array Values
- Feature: Varargs Macros