4 ms·
What's the logic behind going for stack based?
by redox99 1y ago
What's the logic behind going for stack based?
- hwpythonner 1y agoPython’s execution model is already very stack-oriented — CPython bytecode operates by pushing and popping values almost constantly. Building PyXL as a stack machine made it much more natural to map Python semantics directly onto hardware, without forcing an unnatural register-based structure on it. It also avoids a lot of register allocation overhead (renaming and such).
- bhasi 1y agoWhat other models are there? Would love to learn about them.
- redox99 1y agoYour typical PC is register based.