Masterchef365 opened issue #6611:
Feature
To make it possible to compile Wasmtime itself to WebAssembly.
Benefit
- To enable applications which support plugins via Wasmtime to be easily ported to WebAssembly themselves.
- Deeply nested WASM, for shenanigans
- To be able to gloat about being "self-hosting"
Implementation
Because the host environment would be WASM, the easiest way to do this might be to create a mockup interface that behaves as Wasmtime does, but really does not do any work to e.g. JIT compile the WASM because we're already running in it.
Alternatives
The alternative to this is to not do it, because it is silly.
pchickey commented on issue #6611:
We just had this thread the other day but I don't know where it went. This is not something we see much value in pursuing.
pchickey closed issue #6611:
Feature
To make it possible to compile Wasmtime itself to WebAssembly.
Benefit
- To enable applications which support plugins via Wasmtime to be easily ported to WebAssembly themselves.
- Deeply nested WASM, for shenanigans
- To be able to gloat about being "self-hosting"
Implementation
Because the host environment would be WASM, the easiest way to do this might be to create a mockup interface that behaves as Wasmtime does, but really does not do any work to e.g. JIT compile the WASM because we're already running in it.
Alternatives
The alternative to this is to not do it, because it is silly.
jameysharp commented on issue #6611:
I think you're thinking of #6504, Pat, where we had more discussion about alternatives.
Last updated: Nov 22 2024 at 16:03 UTC