v8worker2 icon indicating copy to clipboard operation
v8worker2 copied to clipboard

Running webassembly code

Open advdv opened this issue 6 years ago • 1 comments

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?

advdv avatar Nov 10 '18 10:11 advdv

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!

akhilcacharya avatar Nov 29 '18 04:11 akhilcacharya