Hacker News new | ask | show | jobs
by bogomipz 3476 days ago
>"Of course the advantages such as easy code generation and high code density make stack machines a good intermediate compilation target, which then gets compiled to a register machine for actual execution"

Are you referring to a specific language here or are you saying all register machine always compile to stack machines first?

1 comments

In general they do. The JVM and .NET CLR being the most prominent examples.