v8worker2
v8worker2 copied to clipboard
Running webassembly code
Thank you for the work you've put into this library. Love the simplicity! I was wondering if it is possible to run webassembly code? I'm researching the possibility of running untrusted code in a v8 isolate. This approach is written down here: https://blog.cloudflare.com/cloud-computing-without-containers
The possibility of running any code that compiles to webassembly through your simple v8 interface really excites me! Is this possible, or easily added?
I've been playing with this myself (I don't know much about WASM..) but it does appear that WebAssembly is supported. however, I can't get the WebAssembly.instantiate() promise to ever resolve or error out, instead it just returns. Any additional information about this would be appreciated!