I really like an idea to solve scheduling problem via compiling to WASI. Many months ago I had conversation with friends, how to implement deterministic testing in Go, without custom IO runtime (common approach in Scala/Rust/C++). We were talking about a few random things, which require a lot of effort (compare to WASI):<p>1. <a href="https://github.com/Shopify/toxiproxy">https://github.com/Shopify/toxiproxy</a><p>2. <a href="https://github.com/bytedance/ns-x">https://github.com/bytedance/ns-x</a><p>3. <a href="https://github.com/hnes/cpuworker">https://github.com/hnes/cpuworker</a><p>But all of them are not too good from the first glance.