Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Rust is blocking, there was mio crate which brought non-blocking IO operations.


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.


"Rust is so low-level that IO is a library concern, not a language concern," as I like to say.


But standard IO is blocking, correct?

But Rust being so low level to not care about IO is Awesome :)


We're starting off by only having blocking IO in the standard library, yes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: