I just wrote this response on GitHub that gives a bunch of context on why wasmtime-wasi uses tokio, even in a synchronous embedding, despite that being (apprently) pretty costly in terms of File IO performance compared to competing runtimes. Maybe this is good reading for folks who weren't involved in that design, and I welcome questions and comments on it https://github.com/bytecodealliance/wasmtime/issues/7973#issuecomment-1960513214
Last updated: Dec 23 2024 at 12:05 UTC