Advertisement · 728 × 90

Posts by Jens Gustedt's Blog

Preview
Defer available in gcc and clang About a year ago I posted about defer and that it would be available for everyone using gcc and/or clang soon. So it is probably time for an update. Two things have happened in the mean time: I have not yet got my hands on the gcc implementation (but this is also less urgent, see […]
2 months ago 0 0 0 0
Preview
Alias and references as localized macros Since the last meeting of the C committee I am struggling with the idea of aliases as they are proposed in a long series of papers by JeanHeyd. Transparent Aliases I am struggling with this for several reasons, but most importantly is that I have the impression that it is a heavy gun pointed on […]
6 months ago 0 0 0 0
Preview
Modern C, C23 edition, now in print At last, the new edition is now also available in print and e-pub versions, the contents is the same as described in the previous article. Find all the details at https://gustedt.gitlabpages.inria.fr/modern-c/
7 months ago 0 0 0 0
Preview
The provenance memory model for C [The wordpress markdown inclusion does a very bad job, it seems, there have been some idiotic formatting errors. I hope that these are fixed, now.]
9 months ago 0 0 0 0
Preview
Make C string literals const? Martin Uecker has started a new initiative to ensure a better const contract for C2y: change the type of string literals to a const-qualified base type, much as it is already the case in C++. Compilers support this since a very long time; some of them have this as default, some provide command line switches … Continue reading "Make C string literals const?"
1 year ago 0 0 0 0
Preview
A diagram of C23 basic types This week on the C committee mailing list we had a discussion about how C’s types are organized into different categories. At the end I came up with a diagram with that organization. It basically translates the section “6.2.5 Types” of the C23 standard into a graph of inclusions. Sorry, it is probably a little … Continue reading "A diagram of C23 basic types"
1 year ago 0 0 0 0