3 ms·
Thanks. > CPU can't execute WASM binaries How was OP able to pipe the output of echo directly to the wasm binary initially?
by kretaceous 4y ago
Thanks.
> CPU can't execute WASM binaries
How was OP able to pipe the output of echo directly to the wasm binary initially?
- hmry 4y agoI think they probably registered a WASM interpreter like wasmtime to automatically run any .wasm files. You can do that using binfmt_misc on Linux.
- xena 4y agoYeah, my dev box has a binfmt_misc interpreter for .wasm files set to wasmtime. It's pretty neat!
- masklinn 4y agoWriting / edition error? This is before the article notes that: > However this still depends on the program being compiled for your native OS and distribution as well as present in a folder in your $PATH. Though it’s also possibly that the author has a wasm interpreter registered (or the wasm file has a shebang for one).