4 ms·
Well, 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 impl
by carllerche 12y ago
Well, 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.