Draft standards C89 The ANSI standard. C23 the most recent draft. Notes and quotes on C standard. Three modest proposals for fixing the C standard.
Read more
@vy@mastodon.social
Draft standards C89 The ANSI standard. C23 the most recent draft. Notes and quotes on C standard. Three modest proposals for fixing the C standard.
Read more
Taken from Knuth Algorithm S mergesort P162-163 Vol 3 Second edition 1998 The major change is that the scratch buffer is not required to be
Read moreThere is a proposal to add “defer” to C. Its biggest example is taken from code that was originally designed to not manage storage at
Read more
Here’s a program that exhibits the low level nature of C by changing the return address of a function. The function “one” always returns the
Read more
There is a nice example thread semantics in a paper by David Goldblatt (P1916R0) which illustrates a couple of things about multi-core processing – including
Read more
A perceptive note from Linus Torvalds about the C/C++ “memory model” is reproduced below. From Linus Torvalds <> Date Thu, 7 Jun 2018 08:40:49 -0700
Read more
In computer science academia, C along with UNIX, and PDP11s, is as unfashionable as can be: the equivalent of other 1970’s relics, like polyester leisure
Read moreConsidering how important “undefined behavior” has become to C semantics and the ISO/IEC JTC1/SC22/WG14 Committee, the lack of any reference to it in the K&R
Read more
The C Standards process over the last few decades has addressed both optimization and pointer type safety largely through a concept called “undefined behavior”. The
Read more