redshirt icon indicating copy to clipboard operation
redshirt copied to clipboard

Wasi also supports _initialize entry points

Open tomaka opened this issue 6 years ago • 2 comments

The Wasi standard also supports modules whose entry point is _initialize. https://github.com/WebAssembly/WASI/blob/master/design/application-abi.md

tomaka avatar Apr 22 '20 18:04 tomaka

Here is some background regarding "reactors": https://github.com/WebAssembly/WASI/issues/13

One advantage of using this scheme in redshirt is that we could force applications to register themselves as interface handler during the call to _initialize. We would thereby have a way of telling that an application will no longer handle any new interface that it doesn't already handle.

tomaka avatar Jun 21 '20 08:06 tomaka

Rust compiler support has just landed in nightly: https://github.com/rust-lang/rust/pull/79997#issuecomment-758203786

tomaka avatar Jan 12 '21 08:01 tomaka