You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WASI: integrate ABI modules into reserved WASM modules #74
WASM already provides the ability to do modules. WASI should tightly integrate with this rather than putting all the APIs in the default environment module. This would also allow us to version the ABIs.
A WASM application could define that it needs the core1, net2 and filesystem2 modules. The runtime can dynamically adapt to that behavior by loading the correct ABIs according to what the application specified. This allows WASI to make ABI changes. It also allows WASI to be deeply modular. It would be very nice to follow semver here.
WASI Core isn't in the default environment module; it's in the "wasi_unstable" module, which we intend to be temporary. In C header files, this is achieved via the __attribute__((import_module("wasi_unstable"))) mechanism. We can easily change which modules things are imported from once we decide how we want to organize things.
Versioning is an interesting topic that will affect a lot of people in a lot of different ways, so I suggest we defer that discussion until we have a proper forum.
Activity
sunfishcode commentedon Mar 28, 2019
WASI Core isn't in the default environment module; it's in the "wasi_unstable" module, which we intend to be temporary. In C header files, this is achieved via the
__attribute__((import_module("wasi_unstable")))mechanism. We can easily change which modules things are imported from once we decide how we want to organize things.Versioning is an interesting topic that will affect a lot of people in a lot of different ways, so I suggest we defer that discussion until we have a proper forum.
sunfishcode commentedon Dec 17, 2019
Modularization and versioning are implemented in the WASI repo.
Merge pull request bytecodealliance#74 from dicej/use-realloc
Merge pull request bytecodealliance#74 from dicej/use-realloc
Merge pull request bytecodealliance#74 from dhil/wasmfx-merge
WIP: sketch out wasi-nn extensions
chore: update WIT packages (bytecodealliance#74)