Stream: git-wasmtime

Topic: wasmtime / issue #6611 Using wasmtime from within WASM


view this post on Zulip Wasmtime GitHub notifications bot (Jun 20 2023 at 23:16):

Masterchef365 opened issue #6611:

Feature

To make it possible to compile Wasmtime itself to WebAssembly.

Benefit

  1. To enable applications which support plugins via Wasmtime to be easily ported to WebAssembly themselves.
  2. Deeply nested WASM, for shenanigans
  3. 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.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 20 2023 at 23:30):

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.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 20 2023 at 23:30):

pchickey closed issue #6611:

Feature

To make it possible to compile Wasmtime itself to WebAssembly.

Benefit

  1. To enable applications which support plugins via Wasmtime to be easily ported to WebAssembly themselves.
  2. Deeply nested WASM, for shenanigans
  3. 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.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 20 2023 at 23:47):

jameysharp commented on issue #6611:

I think you're thinking of #6504, Pat, where we had more discussion about alternatives.


Last updated: Dec 23 2024 at 13:07 UTC