Description
We currently don't handle stdin properly, which means that we can't actually separate the WASI runtime build step (which incurs a time cost) from the run step.
We could use a Chan to signal to a custom ReadPipe, used as the WASI runtime's stdin.
Likewise, a Chan in stdout (instead of a hacked-together Arc<RwLock<T>>) will improve things.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- explore the use of Chans to improve IPC and concurrency in the Rust executor prototype
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist