Hacker News new | ask | show | jobs
by shortsightedsid 3705 days ago
That's because Win95 is running on top of Bochs. Bochs simulates every x86 instruction in software. Getting Bochs to run on Apple Watch is itself impressive!
1 comments

It's unfortunate that qemu probably can't run on iOS due to its JIT code generation. qemu (without KVM acceleration) doesn't run nearly as fast as native, but it runs orders of magnitude faster than Bochs.
It's possible to statically JIT the hotspots, then statically link that code into the app. You'd probably have to rewrite lots of qemu code though..
That would also make that build of qemu app-specific, and for that matter not distributable if it included code derived from Windows.
tcg (the qemu code generator) does have an interpreter - you could probably run qemu on iOS with that - though it would obviously be a lot slower than the jit.