r/ProgrammingLanguages • • Jul 27 '26

Discussion A hole in systems programming language design

Given the recent discourse about systems programming I wanted to throw my 2 cents in. This may be a controversial take in a subreddit that's all about innovation and improvement, but I think a lot of budding systems languages are trying too hard to "fix C" and this is exactly why C has not been replaced yet.

Like it or not, C is successful. It does what it means to do very well. Yes, it bites you constantly, but developers have made some form of peace with this because they appreciate the essence of the language. Systems programming is a very pragmatic field, and what works, works.

A lot of language designers want to improve on C, when by nature to "improve on" C is to depart from it, because C is less about what it includes and more about what it omits and what it lets you do that other languages don't.

If you want to replace C, you need to just make C but without the pain points. Less undefined behavior, more standard compiler behavior, easier function pointer syntax, safer macro system, etc. The things that C can't do because of backwards compat.

On the other hand, bolting on features, revamping C's core nature, aren't going to give you a language that will replace C at the low-level or among hobbyist programmers. Most developers aren't as concerned about what C lets them accomplish, as they are concerned about all the painful tedious tendencies of the language.

15 Upvotes

103 comments sorted by

View all comments

Show parent comment

1

u/JeffB1517 Jul 28 '26

10 years no. 20 years is a long long time in terms of language popularity.

A few examples:

  1. 1985 Sun starts working on OAK. 1992 first major release 1994 is renamed Java. Java applets 1995. J2SE 1998
  2. 1989 Python works start. First release of Python 1991. It becomes a major scripting language second to Perl in the 1990s and starts surpassing it in the 00s. By 2019 one of the world's most popular languages.
  3. 1988 Alan Cooper starts working on a GUI for what will become Visual Basic. First release 1991. 1995 it becomes the easiest way to create Windows programs by far. 1998 the most popular business applications programming language in the world.

Rust admittedly is going more slowly. 2006-12 Rust is experimental. 2012 it starts getting crossovers from C++. 2015 first release. Work starts on Servo the original project it was designed for. 2021 Amazon, Google, Huawei, Microsoft go in with Mozilla to provide funding and not let Rust die. Google official supports Rust for Android that same year.

And yes Rust is substantially more complicated. OTOH systems programming is a professional discipline mostly.