Re:Show HN: Hydrogen, a multithread non-blocking Linux serve...
by pcwalton on Tuesday May 10, 2016 @11:56PM
(#11672550)
No, it doesn't. Basically all async I/O code in the Rust ecosystem uses mio.
And eventually a standard interface will be offered. Just not before it's ready.
Re:Show HN: Hydrogen, a multithread non-blocking Linux serve...
by 15155 on Wednesday May 11, 2016 @02:23AM
(#11672998)
Basically all async I/O code in the Ruby ecosystem uses EventMachine.
That's not the point: more of an ecosystem is built around the stdlib's blocking I/O than mio. New projects everyday are built around things that will eventually be incompatible.
I don't believe the language needs to dictate something. It might help, sure, but there's no reason that is a requirement.
For the sake of compatibility, a blessed option should be offered.
The AIO situation today in Rust looks identical to Ruby, Python, and C++.