- new
- past
- show
- ask
- show
- jobs
- submit
I really hope this is not vibe coded, because my criticism, if this wasn’t the honest work of a beginner, would be much more scathing than that and would confirm all my biases against LLMs.
I've been thinking along somewhat similar lines of a C but instead of a PDP 11 as the virtual machine, why not risc V.
Could of questions.
Do variables as registers get enforced at all? If you're going to have any type of function you need to that the first arg goes in the right place.
Second. One risc V instruction doesn't necessarily mean one risc V instruction. So I don't think you should be holding yourself to the same standard. This then makes while loops possible and easier to read if statements.
For me the benefit of something like this is knowing what is happening under the hood. I don't need to know that a statement will translate to one instruction, just that I understand what instructions it will actually expand to.
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.
[0] https://en.wikipedia.org/wiki/PL360
[1] https://en.wikipedia.org/wiki/PL-11
C is no longer that high level assembler that killed the others.
Plus I think you're being overly negative. This is a very under explored space in modern computing. As someone one who likes to get down to the bits and bytes, this looks like an interesting proposition.