3 ms·
I think you should take a look at C#'s async/await infrastructure. I am also from a low-level C background and I think this is the approach I would like to see
by jpgvm 11y ago
I think you should take a look at C#'s async/await infrastructure.
I am also from a low-level C background and I think this is the approach I would like to see in Rust.
It can be implemented in a way that would be safe to run in kernel space and overall provides a pretty nice programming model. It can also be very performant if it's integrated into the compiler.
- steveklabnik 11y agoWe have a ticket open: https://github.com/rust-lang/rfcs/issues/388 https://github.com/rust-lang/rfcs/issues/388