4 ms·
> WebAssembly doesn’t allow you to dynamically generate new machine code and run it from within pure Wasm code. I think this focus is about RUNNING the wasm. I
by mamcx 5y ago
> WebAssembly doesn’t allow you to dynamically generate new machine code and run it from within pure Wasm code.
I think this focus is about RUNNING the wasm. If you have are a host, I think you can generate wasm inside it and pre-cache the "std library" or something, this is what I infer from this idea (from other users that wanna implement it).
Because certainly you can generate code with control of your host:
https://docs.rs/wasmer/1.0.2/wasmer/ https://docs.rs/wasmer/1.0.2/wasmer/