RSS Amplifier

Blog

The Pasture

The musings, ideas, discussions, and sometimes silly words from a digital sheep magician

thephd.devRSS feed ↗10 posts

Latest posts

The Cost of a Closure in C, The Rest

The last article checked the landscape of various C and C extension implementations of Closures for their performance capabilities. But, there were a few tweaks and extra things we could do to check the performance of other techniques. At the time,

The Cost of a Closure in C

I had a vague idea that closures could have a variety of performance implications; I did not believe that so many of the chosen and potential designs for C and C++ extensions ones, however, were so…

C2y: Hitting the Ground Running

Surprise! Just because we released C23, doesn’t mean we’ve stopped working on C as a whole! There is a TON of things to do, and we have absolutely been busy working on things!

The Defer Technical Specification: It Is Time

After the Graz, Austria February 2025 WG14 Meeting, I am now confident in the final status of the defer TS, and it is now time.

Results! - The Big Array Size Survey for C

Happy New Year! It is time report the results of the Array Size Operator survey and answer some comments people have been asking for!

The Big Array Size Survey for C

New in C2y is an operator that does something people have been asking us for, for decades:

5 Years Later: The First Win

N3366 - Restartable Functions for Efficient Character Conversions has made it into the C2Y Standard (A.K.A., “the next C standard after C23”). And one of my longest struggles — the sole reason I actually came down to the C Standards Committee in the first place —

Improving _Generic in C2y

The first two meetings of C after C23 was finalized are over, and we have started working on C2y. We decided that this cycle we’re not going to do that “Bugfix” followed by “Release” stuff, because that proved to be a REALLY bad idea that killed a ton of momentum and active contributors during the C11 to C17 timeframe. So, this time, we’re hitting both bugfixes AND features so we can make sure we…

Constant Integer Type Declarations Initialized With Constant Expressions Should Be Constants

Constant integer-typed (including enumeration-typed) object declarations in C that are immediately initialized with an integer constant expression should just be constant expressions. That’s it.

Why Not Just Do Simple C++ RAII in C?

Ever since I finished publishing the “defer” paper and successfully defended it on its first go-around (it now has tentative approval to go to a Technical Specification, I just need to obtain the necessary written boilerplate to do so), an old criticism