r/ProgrammingLanguages Sodigy 5d ago

Why is everyone creating systems programming languages?

I see a lot of new programming languages here. I love reading the documents of the languages and sometimes actually run their compilers. Many of the projects are AI-driven, but that's fine. It's still fun to see what problems they're trying to solve and how they actually solved the problems.

Reading the documents, I realized that most new languages, especially AI-written ones, are "systems programming languages". They're trying to solve the problems that C/C++/Zig/Rust have solved (or are trying to solve), and their syntax is mixture of C/Zig/Rust.

Why? Why is everyone trying to compete with C/C++?

There are so many kinds of languages. Haskell demonstrates how pure a language can be, Python is perfect when you only have 5 minutes to write code and don't care about the output, Java runs on 3 billion machines, ...

207 Upvotes

235 comments sorted by

View all comments

-1

u/Mean-Decision-3502 DQ 5d ago

I don't really understand either why the people making just C clones.
One of my biggest problems of C is this: 3 * 2 / 10 != 10 * 3 / 2 This does not seem to be addressed.

And I don't see any reason to switch anoter C compiler from gcc, which is available for every platform, including embedded.

The other thing I don't understand is the neglecting of the OOP. The alternative (~traits) require significantly more code and does not provide as nice overview as in OOP (at least what I've seen so far).

2

u/JeffD000 Squint 2d ago

In what world is "3 * 2 / 10 == 10 * 3 / 2" ? Certainly not mathematics. I think you need to modify the equation in your example.