flow icon indicating copy to clipboard operation
flow copied to clipboard

WASM/WASI version of CLI context functions

Open andrewdavidmackenzie opened this issue 1 year ago • 3 comments

See if we can compile to WASI the cli context functions, and them to be WASI functions that access STDIO and FS etc?

If we can, then they could be moved to a library and not in the runtime and the runtime becomes “pure”

andrewdavidmackenzie avatar Jan 04 '23 15:01 andrewdavidmackenzie

Maybe need to add to the runtime https://docs.wasmtime.dev/examples-rust-wasi.html

Could be a feature and/or a command line option to the runtime,

andrewdavidmackenzie avatar Jan 04 '23 15:01 andrewdavidmackenzie

How would they work in the IDE example to communicate with the IDE from the WASM VM?

andrewdavidmackenzie avatar Jan 04 '23 16:01 andrewdavidmackenzie

Needs resolving of which executor on which node would run these functions

andrewdavidmackenzie avatar May 17 '23 21:05 andrewdavidmackenzie