A friend of mine worked on https://github.com/libriscv/godot-sandbox
Which uses libriscv as the sandboxed compute target.
IIRC They tried for years to get a wasm backend to work and eventually abandoned it citing, among other reasons, something about how it was difficult to wrangle a stack machine with a register machine.
I don’t really see what benefits wasm runtimes have over something like libriscv which is very fast and maps more closely to hardware.
replies(3):