Skip to content

Comment on Virtual Machine Showdown: Stack Versus Registersparent

Comments

They can, but now you have register spilling, register allocation, and your instruction sizes aren't significantly smaller, since you still refer to registers.

All in all, it's a bad idea unless you're doing it in hardware (where you simply can't have enough registers due to cost [in money and die area] issues)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.