Hacker News new | ask | show | jobs
by 8sigma 3194 days ago
Fabrice Bellard's projects always make it to the front page every time they are posted.
2 comments

Probably because years after release they still get a wow out of most.
What does he work on nowadays?
Well, he made it possible to run Windows 2000 in JavaScript: https://bellard.org/jslinux/vm.html?url=https://bellard.org/...

It works by running QEMU inside Linux inside a modified JSLinux, and then running Win2K inside QEMU.

JSLinux was modified to incorporate AMD's hardware-assisted virtualization instructions/extensions, so that QEMU could use KVM. This means that actual x86 emulation gets done in JavaScript layer, and you have (JavaScript (JSLinux(QEMU)) <-> Win2K) instead of (JavaScript(JSLinux(QEMU(Win2K))))), which would be... well I tried running Mini vMac (Mac 128K emulator) inside Basilisk II (PowerPC Mac emulator) one day... it was pretty much unusable, even though Classic Mac OS was designed for a 7.8MHz CPU.

So basically this wouldn't have been possible without implementing virtualization. Despite the fact that said virtualization is actually fake, and it's really emulation.