3 ms·
Unfortunately v86 doesn't support x86_64 and that's why TempleOS is notably missing from the list.. Currently the closest thing is qemu-wasm, but my experiment
by zb3 1y ago
Unfortunately v86 doesn't support x86_64 and that's why TempleOS is notably missing from the list..
Currently the closest thing is qemu-wasm, but my experiments (chrome only) show that it's still too slow:
https://zb3.me/qemu-wasm-test/jspi-noffi/ https://zb3.me/qemu-wasm-test/jspi-noffi/
- zb3 1y agoQEMU in general translates so called "extended basic blocks", then later "chains" them by overwriting the jump instruction [simplification]. This doesn't work well with WebAssembly, because each EBB needs its own module and chaining would be hard to implement since we can't patch existing modules. This is why currently qemu-wasm is so slow. v86 has a different model of "jitting" the code, but it only supports x86 and each new architecture would require significant rewrites.