0

Is it possible to natively emulate an x64 operating system inside a web browser?

2
  • 1
    How do you envisage this would work?
    – Tetsujin
    Commented Sep 13, 2023 at 10:29
  • 2
    @Tetsujin quite straightforward? See my answer. Commented Sep 13, 2023 at 10:59

1 Answer 1

2

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).

3
  • Clever… but I bet that's not what the OP wanted ;)
    – Tetsujin
    Commented Sep 13, 2023 at 11:02
  • 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
  • @Tetsujin That was exactly what I was asking. Commented Sep 13, 2023 at 12:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .