4 ms·
Just looked at eventual. It seems really interesting. I looked at Rust's std Future and was turned off by the fact that is blocking.
by jbandela1 12y ago
Just looked at eventual. It seems really interesting. I looked at Rust's std Future and was turned off by the fact that is blocking.
- Ygg2 12y agoRust is blocking, there was mio crate which brought non-blocking IO operations.
- carllerche 12y agoWell, Rust doesn't have any opinions regarding blocking or not. Currently, std::io implements blocking IO, but as you pointed out, Rust allows libraries to implement non-blocking / async paradigms.
- steveklabnik 12y ago"Rust is so low-level that IO is a library concern, not a language concern," as I like to say.
- Ygg2 12y agoBut standard IO is blocking, correct? But Rust being so low level to not care about IO is Awesome :)
- steveklabnik 12y agoWe're starting off by only having blocking IO in the standard library, yes.