Hi,
I just want to note that in 2019, I tried to build a Pharo VM to WebAssembly using Emscripten. It was not really working but I was able to, at least, build and run the VM.
Maybe someone will be interested enough to try to push it :-)
The main issues I found:
- the VM seems to use the long jumps and in very ugly way - it specifies assembler labels and then it jumps to them
- heartbeat
- atomic operations (probably not so critical)
Cheers,
-- Pavel