The Pasture

The musings, ideas, discussions, and sometimes silly words from a digital sheep magician
https://thephd.dev/ (RSS)
visit blog
The Big Array Size Survey for C
6 Nov 2024 | original ↗

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

5 Years Later: The First Win
8 Oct 2024 | original ↗

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
1 Aug 2024 | original ↗

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...

Constant Integer Type Declarations Initialized With Constant Expressions Should Be Constants
16 Jun 2024 | original ↗

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?
21 May 2024 | original ↗

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

Implementing #embed for C and C++
19 Oct 2023 | original ↗

I received a few complaints that #embed was difficult to implement and hard to optimize. And, the people making these claims

cuneicode, and the Future of Text in C
7 Jun 2023 | original ↗

Following up from the last post, there is a lot more we need to cover. This was intended to be the post where we talk exclusively about benchmarks and numbers. But, I have unfortunately been perfectly taunted and status-locked,

Undefined behavior, and the Sledgehammer Principle
2 Feb 2023 | original ↗

Previously, an article made the rounds concerning Undefined behavior that made the usual Rust crowd go nuts and the usual C and C++ people get grumpy that someone Did Not Understand the Finer Points and Nuance of Their Brilliant Language. So, as usual, it’s time for me to do what I do best

The Wonderfully Terrible World of C and C++ Encoding APIs (with Some Rust)
12 Oct 2022 | original ↗

Last time we talked about encodings, we went in with a C++-like design where we proved that

C23 is Finished: Here is What is on the Menu
31 Jul 2022 | original ↗

It’s That Blog Post. The release one, where we round up all the last of the features approved since the last time I blogged. If you’re

finally. #embed
22 Jul 2022 | original ↗

It happened. Nearly 5 years of paper writing, being snuck Committee Meeting notes on the DL until I could access them myself and absolve my co-conspirators of their sins, 5 different implementations/patches later, I can

↑ these items are from RSS. Visit the blog itself at https://thephd.dev/ to find other articles and to appreciate the author's digital home.