Skip to content
Tcl Source Code Artifact [9343e54eb8]
Login

Artifact [9343e54eb8]

Artifact 9343e54eb89e939402cef30fed756b528275bb00d2fe41c9a31bb3550f02e1f3:

Wiki page [branch/c-std-update] by dkf on 2025-10-27 11:53:20.
D 2025-10-27T11:53:20.931
L branch/c-std-update
N text/x-markdown
P a8232744e7dd1d9b8f660a37bb4b42f71a43875dd5bc8a85afb5a45491ed3dbf
U dkf
W 1649
This branch is looking at the things we can do by adopting C11 features (as opposed to just C89) more consistently.

The following branches are _derived_ from this one:

* [`c11-anon-members`](https://core.tcl-lang.org/tcl/timeline?r=c11-anon-members)
* [`c11-array-literals`](https://core.tcl-lang.org/tcl/timeline?r=c11-array-literals)
* [`c11-automarker`](https://core.tcl-lang.org/tcl/timeline?r=c11-automarker)
* [`c11-bool`](https://core.tcl-lang.org/tcl/timeline?r=c11-bool)
* [`c11-generic-oo-api`](https://core.tcl-lang.org/tcl/timeline?r=c11-generic-oo-api)
* [`c11-printf-result`](https://core.tcl-lang.org/tcl/timeline?r=c11-printf-result)
* [`c11-tcloo-foreach`](https://core.tcl-lang.org/tcl/timeline?r=c11-tcloo-foreach)
  * [`c11-full-hash-foreach`](https://core.tcl-lang.org/tcl/timeline?r=c11-full-hash-foreach) (extended version)
* [`c11-tebc-trace-cleanup`](https://core.tcl-lang.org/tcl/timeline?r=c11-tebc-trace-cleanup)
* [`c11-varargs-nr-add-callback`](https://core.tcl-lang.org/tcl/timeline?r=c11-varargs-nr-add-callback)

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.

Similarly, moving variable declarations around inside functions isn't very high value and yet is *very* noisy. Outside of doing things like making iteration neater (where 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.
Z bdb467fba75179928ff2b97165ea01c1