4 ms·
This is so interesting, VM using a URL for the code.
by mycall 7y ago
This is so interesting, VM using a URL for the code.
- gregschlom 7y agoA bit of hair splitting, but technically it's an emulator, not a VM, since it's just simulating the CPU using javascript in your browser.
- monocasa 7y agoEmulators are VMs too.
- eru 7y agoWell, depends a bit on what definitions you use. For example there's VM in the sense of JVM. But there's also in VM in the sense of Xen (VM) vs Docker (not a VM). And probably a few more slightly different usages.
- monocasa 7y agoThose are both VMs in the same sense. A VM creates an abstract, indirect implementation of a computing system. Sometimes that's with a lot of hardware offload as in Xen or picojava. Sometimes that's with a JIT as in HotSpot, orginal VMWare, or Transmeta. Sometimes that's just with an interpreter like the original JVM or Dosbox. They're all virtual machines whether they're running code originally meant for execution on hardware or not.
- eru 7y agoThat's a pretty wide definition. One that also encompasses any 'bare metal' OS, because they use microcode these days.
- mycall 7y agoIt is a base64 encoded highly optimized x86 assembly in DOSBox emulator inside a Javascript VM Chrome browser inside my Windows 10 Sandbox Nested Hyper-V VM inside VMware Workstation inside my Windows 10 machine.
- anonexpat 7y agoIt’s turtles all the way down.
- SomeoneFromCA 7y agoYeah, and then CPU which translates x86 code into uOPs.
- scubbo 7y agoThere's always a relevant xkcd: https://xkcd.com/676/ https://xkcd.com/676/