Stream: git-wasmtime

Topic: wasmtime / issue #3729 Add CLI options for preopened list...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 04 2022 at 10:36):

haraldh commented on issue #3729:

rebased

view this post on Zulip Wasmtime GitHub notifications bot (Feb 04 2022 at 10:42):

haraldh commented on issue #3729:

add mio for wasi example

view this post on Zulip Wasmtime GitHub notifications bot (Feb 04 2022 at 10:42):

haraldh edited a comment on issue #3729:

added mio for wasi example to first comment

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2022 at 22:26):

sunfishcode commented on issue #3729:

This looks like it will be a good way to enable experimentation with the new WASI accept functionality.

Looking forward, the convention of having applications implicitly assume they can get environment variables like LISTEN_FDS is problematic for WASI. To make WASI programs modular and statically analyzable, we want to make API contracts explicit in imports and exports, rather than in dynamic environment-variable conventions. I expect what we'll want in the future is for this to use the Typed Main feature, and then to have WASI libc on the inside translate that back into making getenv("LISTEN_FDS") return this information for compatibility.

However, we can address that as the pieces needed to use Typed Main come online. For now, this looks good.


Last updated: Oct 23 2024 at 20:03 UTC