Hacker News new | ask | show | jobs
by transfire 3476 days ago
I should imagine implementing a register-based VM on a register-based CPU is going to have some advantages over a stack-based VM implemented on a register-based CPU. I wonder how well a register-based VM would fair on a stack-based CPU.
2 comments

That's interesting. Are there any actual stack-based CPUs out there today?
That's fascinating. Would love to see what performance such thing can actually perform.
>"I should imagine implementing a register-based VM on a register-based CPU is going to have some advantages over a stack-based VM implemented on a register-based CPU."

Can you elaborate why is that? What would those advantages be in practical terms?