Safety, undefined behavior, @safe, @trusted

Don nospam at nospam.com
Fri Nov 6 00:24:06 PST 2009


Yigal Chripun wrote:

> BTW, so called native code on Intel processors runs in a VM as well.
> Intel's cisc instruction set is translated to a risc like micro-ops and 
> those micro-ops are executed. the only difference is that this is done 
> in hardware by the processor.

It's a bit meaningless to call that a VM. You can just as easily say 
that _every_ CPU ever made is a VM, since it's implemented with 
transistors. (Traditionally, CISC processors were implemented with 
microcode, BTW -- so there's nothing new). So the "virtual" becomes 
meaningless -- "virtual machine" just means "machine".

The term "virtual machine" is useful to distinguish from the "physical 
machine" (the hardware). If there's a lower software level, you're on a 
virtual machine.



More information about the Digitalmars-d mailing list