Skip to content
Tcl Source Code Update of ”branch/c-std-update”
Login

Update of ”branch/c-std-update”

Overview

Artifact ID: 9343e54eb89e939402cef30fed756b528275bb00d2fe41c9a31bb3550f02e1f3
Page Name:branch/c-std-update
Date: 2025-10-27 11:53:20
Original User: dkf
Mimetype:text/x-markdown
Parent: a8232744e7dd1d9b8f660a37bb4b42f71a43875dd5bc8a85afb5a45491ed3dbf (diff)
Next c6ac0dda8fd6e7d786c4771c0a90577dbaf46e250e923b716ad9280571e7be0f
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 are derived from this one:

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.