Is it possible to natively emulate an x64 operating system inside a web browser?
1 Answer
Yes, that is possible. Proof by example: Fabrice Bellard's JSLinux can boot x86 Linux 3.12.0, Windows 200, FreeDOS. Probably other OSes as well.
Technically, what Bellard did here is cross-compile his tinyEMU for WASM (or JavaScript, if not supported) through emscripten (and of course, write a buckload of glue so that the graphical display ends up on your screen, etc). TinyEMU is a small emulator he wrote (QEMU was originally written by him, too).
-
-
I think they asked for an emulated x86 operating system? We must have both different readings of the question then! Commented Sep 13, 2023 at 11:05
-