Walter did yo realy go Ohhhh?

Robert Fraser fraserofthenight at gmail.com
Sun Jun 15 15:52:59 PDT 2008


Nick Sabalausky wrote:
> But then, the whole idea of VMs being better for language interop is 
> preposterous anyway. After all, how do VMs work? You take a 
> high-level-language, compile it down to a sequence of pre-defined binary 
> opcodes, and execute. Hey! Just like a real CPU! So if you can solve 
> language interop on a VM, you can do the same thing to solve it for native 
> code.

By that argument, anything that a VM can do, native code should be able 
to do. This is kind of true, but to get some of those things (i.e. 
hot-swapping, security management, selective dynamic loading) working, 
you almost need to implement a mini-VM.



More information about the Digitalmars-d mailing list