4 ms·
I tried with async in the kernel first, but the cruft that was needed two years ago was not worth it in the kernel itself. The net I/O is actually async-first,
by lasiotus 3y ago
I tried with async in the kernel first, but the cruft that was needed two years ago was not worth it in the kernel itself. The net I/O is actually async-first, see here: https://github.com/moturus/moto-runtime/blob/main/src/net.rs https://github.com/moturus/moto-runtime/blob/main/src/net.rs
File I/O will move to this model later (the current file I/O code is quite old and mostly a placeholder).
- bluejekyll 3y agoI think I missed this on my quick pass through the code, I see a lot async usage here as well, https://github.com/moturus/moto-runtime/blob/main/src/net_async.rs https://github.com/moturus/moto-runtime/blob/main/src/net_as... Very cool. Thanks for pointing this out.