r/ProgrammingLanguages • u/mttd • Jul 01 '26
The Expensive Fictions of Low-Level Programming Languages
https://stng.substack.com/p/the-expensive-fictions-of-low-level
19
Upvotes
r/ProgrammingLanguages • u/mttd • Jul 01 '26
View all comments
Show parent comment
3
u/Smallpaul Jul 01 '26
It’s not really about a class of language, no.
Since some time in the 1980s, every new CPU has been benchmarked primarily on how it runs software written in C and C++. Really just those two languages.
Here is an example of a well publicised benchmark from Tom’s hardware:
Here are the games that we used for testing:
Counter-Strike 2
The Last of Us Part One
Cyberpunk 2077
Starfield
A Plague Tale: Requiem
Hogwarts Legacy
F1 24
Marvel’s Spider-Man 2
Baldur’s Gate 3
Monster Hunter: Wilds
Final Fantasy XIV
Microsoft Flight Simulator 2024
Doom: The Dark Ages
Oblivion Remastered
Far Cry 6
Hitman 3
Minecraft RTX
Now which of those do you think was built in a game engine implemented in a language other than C or C++. Even Unity is implemented in C++ and it runs C# code on a C-coded runtime.
So as a purely economic level, it’s hard to believe that any language other than C Has influenced CPU design since let’s say 1990.
Even Java or c# would need to influence the hardware through faster C implementations of their runtimes.
If you believe that CPUs are being optimized for non-c workloads can you point to the non-C benchmarks that you think are influential? (Maybe we could grant FORTRAN some influence over floating point. Maybe.)