Relative Content

Tag Archive for virtual-machine

What happened to VM based deployments?

Watched some MountainWest RubyConf 2014 talks and noticed an interesting theme. Many dynamic programming environments back in the old days used to be self-contained VM images, e.g. SmallTalk, GemStone/S.

How do VMs implement function calling?

I’m reading a compiler textbook that compiles to some form of assembly. Since I don’t know this assembly language I decided to invent my own simple “assembly language” and implement a basic “virtual machine” which will execute these instructions.

Do VMs use one stack for everything? [duplicate]

This question already has answers here: Stack-instructions machines [closed] (5 answers) Closed 9 years ago. Most VMs have a “call stack” to keep track of where to return from each function that was called. This is often simply regarded as “the stack”. However often a stack is needed for operations that aren’t related to function […]

Do VMs use one stack for everything? [duplicate]

This question already has answers here: Stack-instructions machines [closed] (5 answers) Closed 9 years ago. Most VMs have a “call stack” to keep track of where to return from each function that was called. This is often simply regarded as “the stack”. However often a stack is needed for operations that aren’t related to function […]