|
|
|
|
|
by brucehoult
21 days ago
|
|
> instead of a PDP 11 as the virtual machine, why not risc V What would that look like, in your view? I can't see them being significantly different, as computation models go. And I'm familiar with both. If you're thinking of ++ and --, those were introduced in the B language before the first PDP-11 was even made, plus of course the PDP-11 only offers pre-decrement and post-increment while C offers all four combinations. |
|
TBF I'm playing with a pi Pico, so anything I do is likely to be more influenced by the memory set up. Ie xip.
I could write a whole essay on this. But I was more meditating on the assumptions and decisions made, because that was obvious/easy given the hardware available. Why don't really write languages like that now, and I don't really think C is that language anymore. But it would be interesting to see what could emerge.