Standardizing WASI: A system interface to run WebAssembly outside the web
1–10 of 238 posts
Re: Standardizing WASI: A system interface to run WebAssembly outside the web
#2Re: Standardizing WASI: A system interface to run WebAssembly outside the web
#3Re: Standardizing WASI: A system interface to run WebAssembly outside the web
#40 - https://github.com/CraneStation/wasmtime-wasi/blob/wasi/docs...
Re: Standardizing WASI: A system interface to run WebAssembly outside the web
#5Re: Standardizing WASI: A system interface to run WebAssembly outside the web
#6Been hoping a stdlib for WASM would spring up. So if I wanted to implement a WASI backend (e.g. on the JVM), are the function definitions I should implement here: [0]? I assume string, array, struct, etc layout in WASM mem is as C expects? Also, is it a goal to provide a test suite to test conforming backend implementations (may already be there, didn't look)? Finally, pardon my lack of research before asking, does t…
Yes, that's the list.
And the layout of structs, strings, etc is up to the compiler, within the bounds of the restrictions WebAssembly imposes.
We'll definitely have a test suite, but this is all early days, so a lot of all that isn't yet in place.
And yes, this can be targeted by LLVM-based and other compilers. In fact, Emscripten could use this as the foundation for their POSIX-like libc and library packages. The syscalls are indeed exposed as Wasm function imports.
Re: Standardizing WASI: A system interface to run WebAssembly outside the web
#7How much of the Fuscia model apply to Web Assembly? It seems like they could share similar security models
Re: Standardizing WASI: A system interface to run WebAssembly outside the web
#8Re: Standardizing WASI: A system interface to run WebAssembly outside the web
#9I suppose this would have pretty big implications for Electron or a similar successor to aid in the UI portion of this endeavor.
Re: Standardizing WASI: A system interface to run WebAssembly outside the web
#10Been hoping a stdlib for WASM would spring up. So if I wanted to implement a WASI backend (e.g. on the JVM), are the function definitions I should implement here: [0]? I assume string, array, struct, etc layout in WASM mem is as C expects? Also, is it a goal to provide a test suite to test conforming backend implementations (may already be there, didn't look)? Finally, pardon my lack of research before asking, does t…
(Member of the team at Mozilla here ) Yes, that's the list. And the layout of structs, strings, etc is up to the compiler, within the bounds of the restrictions WebAssembly imposes. We'll definitely have a test suite, but this is all early days, so a lot of all that isn't yet in place. And yes, this can be targeted by LLVM-based and other compilers. In fact, Emscripten could use this as the foundation for their POSIX…