Skip to content
keeping simple

keeping simple

Littlehampton @vy@mastodon.social

Matagalpa Menu

  • Groundbreaking treatise on state machines, paxos, specification
  • The RTLinux patent 5,995,745
  • Notes on Security and Common Criteria
  • Download code

systems

C23 standard (final draft)

vy February 16, 2026 C standard Read more

don’t defer

There is a proposal to add “defer” to C. Its biggest example is taken from code that was originally designed to not manage storage at all, but to run once and exit – delegating all the cleanup to exit. The

vy December 4, 2023December 11, 2025 C standard Read more

Unforgivable C programming 1

As many people never tire of explaining, the C language is obsolete, unsafe, unwelcome in polite company and generally looked down on  by thought leaders and adepts of λ calculus alike.  Here’s a program that exhibits the lamentably low level

vy September 11, 2022December 11, 2025 C standard Read more

Threads in C

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 how interesting it is and how poorly defined the C11 atomic/thread extension is . A

vy March 26, 2022December 11, 2025 C standard Read more

PLOS 2021 paper: How ISO-C became unusable for operating system development

PLOS 2021 paper: How ISO-C became unusable for operating system development
vy October 6, 2021December 11, 2025 C standard, operating systems Read more

Memory model and semantics for C

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 Subject Re: LKMM litmus test for Roman Penyaev’s rcu-rr share 0 On Thu, Jun 7,

vy August 3, 2021December 11, 2025 C standard Read more

unfashionable C

unfashionable C

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 suits and mullets. In 2018 ACM Queue published an essay by David Chisnall called: C

vy May 21, 2021February 21, 2026 C standard, computer architecture, programming languages Read more

Undefined behavior in C is a reading error.

Considering 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 ANSI book is notable and the description in the 1999 C Rationale was quite modest.

vy May 19, 2021February 10, 2023 C standard Read more

C is not a serious programming language

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 idea is that instead of  positive rules for what compilers and programmers can do, the

vy May 16, 2021May 26, 2021 C standard, programming languages, software security Read more

Dennis Ritchie on alias analysis in the C programming language 1988

This 1998 note by Dennis Ritchie from comp.lang.c  (and also  here ) is very current since the concept of noalias has definitely crept back into the standard. I have reproduced it verbatim, but lightly formatted for readability. For further reading

vy March 19, 2021May 23, 2021 C standard, programming languages Read more
  • « Previous

Archives

Tags

apple automata automata products big data C c language computer science c standard fault tolerance formal methods free software green computing innovation intellectual property linux manufacturing milner modularity moore machines non-determinism ntp operating systems patents paxos process algebra processor architecture ptp real-time recursion rtlinux software software engineering software patents software security specification state machines sun synchronization technology timekeeper timestamp time synchronization undefined behavior verification wg14

Pages

  • Groundbreaking treatise on state machines, paxos, specification
  • The RTLinux patent 5,995,745
  • Notes on Security and Common Criteria
  • Download code

Categories

  • academics
  • algebra
  • archived
  • auragen
  • business
  • C standard
  • computer architecture
  • current reading
  • economics
  • operating systems
  • programming languages
  • rtlinux
  • security
  • software business
  • software security
  • state maps
  • systems
  • theory
  • timekeeper
  • Uncategorized
  • vy papers

Pages

  • Groundbreaking treatise on state machines, paxos, specification
  • The RTLinux patent 5,995,745
  • Notes on Security and Common Criteria
  • Download code

Archives

  • February 2026
  • December 2025
  • November 2025
  • October 2025
  • January 2025
  • December 2024
  • September 2024
  • January 2024
  • December 2023
  • May 2023
  • October 2022
  • September 2022
  • May 2022
  • April 2022
  • March 2022
  • January 2022
  • October 2021
  • August 2021
  • May 2021
  • March 2021
  • September 2020
  • October 2019
  • July 2019
  • March 2019
  • February 2019
  • December 2018
  • November 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • January 2018
  • November 2017
  • August 2017
  • July 2017
  • June 2017
  • December 2016
  • September 2016
  • August 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • March 2015
  • November 2014
  • October 2014
  • September 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • February 2014
  • January 2014
  • December 2013
  • January 2013
  • November 2012
  • August 2012
  • July 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • March 2011
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005
  • April 2005
  • February 2005
  • January 2005
  • December 2004
Copyright © 2026 keeping simple. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.