Re:Show HN: Game of Life in 32 bytes of assembler
by gregschlom on Friday May 01, 2020 @12:49AM
(#23039235)
A 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.
[ Parent
| on HN ]
Re:Show HN: Game of Life in 32 bytes of assembler
by mycall on Friday May 01, 2020 @01:12AM
(#23039320)
It 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.
Re:Show HN: Game of Life in 32 bytes of assembler
by SomeoneFromCA on Friday May 01, 2020 @08:28AM
(#23041316)
Yeah, and then CPU which translates x86 code into uOPs.
Re:Show HN: Game of Life in 32 bytes of assembler
by scubbo on Sunday May 03, 2020 @01:29AM
(#23057057)
There's always a relevant xkcd: https://xkcd.com/676/
Re:Show HN: Game of Life in 32 bytes of assembler
by anonexpat on Friday May 01, 2020 @01:32AM
(#23039394)
Itβs turtles all the way down.
Re:Show HN: Game of Life in 32 bytes of assembler
by monocasa on Friday May 01, 2020 @01:50AM
(#23039456)
Emulators are VMs too.
Re:Show HN: Game of Life in 32 bytes of assembler
by eru on Friday May 01, 2020 @04:39AM
(#23040207)
Well, 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.
Re:Show HN: Game of Life in 32 bytes of assembler
by monocasa on Friday May 01, 2020 @09:44AM
(#23041903)
Those 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.