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
1
u/Smallpaul Jul 02 '26
> But at this point, how much does any of our hardware owe to the fact that it was C and the PDP-11 in particular?
A lot.
https://queue.acm.org/detail.cfm?id=3212479
> When was it necessary? I guess ... they all have pointers? But so would whatever systems language won.
Mutable pointers? Pointers that you can do arithmetic on? Pointers into a flat memory space with no notion of cache hierarchy? Pointers that can trigger operating system calls?
That’s a lot of assumptions.
> There were Lisp machines, where for example the architecture reserved bits of each memory word as tags to indicate the type, and the chip could do dynamic dispatch.
Sure, there were Lisp machines developed in extremely small numbers by small companies for a small market.
And making a Lisp machine is the exact opposite of the argument being made by both of these articles: that you could design programming languages for new hardware. Especially ones designed to take advantage of the intrinsic within-thread parallelism of the hardware.
> In the end the CPU is always going to be a state machine. Unless you have specific ideas for what we might do with our chips,
Both articles laid out some ideas.
“Imagining a Non-C Processor …”