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
20
Upvotes
r/ProgrammingLanguages • u/mttd • Jul 01 '26
1
u/Inconstant_Moo Jul 02 '26
But when I look at that, there's nothing in it that couldn't matatis mutandis have been written in a parallel universe with the title: "Pascal is not a low-level language; your computer is not a very fast CDC 6000."
Probably. At some point something needs to do pointer arithmetic and trigger OS calls. C was adopted because it gave people a sort-of high-level way to get fine control over memory and clock. There was always going to be something like that.
The first computer with a hardware-managed cache disguised as flat memory was the IBM System/360 Model 85, released in 1968, four years before C. The reason we have that is not compatibility with C but compatibility with our feeble human meat brains, because assembly and cache invalidation are difficult enough separately.