Bad array indexing is considered deadly

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 4 13:01:27 PDT 2017


On Sunday, 4 June 2017 at 19:24:27 UTC, Paolo Invernizzi wrote:
> If I'm not wrong, it also uses a VM, also if there's the 
> availability of a native code compiler...
> If a VM is involved, it's another game...

Not sure if I follow that.  If you only use safe code then there 
should be no difference between using a VM or not.  And what is a 
VM these days anyway? (e.g. hypervisors and micro code caches in 
CPUs etc)

Now, you might argue that some IRs are too complicated, and that 
a simple IR is easier to get right. Or that some concurrency 
models are more volatile than others. That is true, but it 
doesn't have much to do with using a VM.

So the only special thing about using a VM in this case is that 
it could allow an actor to migrate to another server while 
running. Which is another game...



More information about the Digitalmars-d mailing list