3 ms·
Thanks for your enlightening response. Wouldn't building event loop based server require non-blocking i/o libraries ? Does rust have that ?
by bsaul 12y ago
Thanks for your enlightening response. Wouldn't building event loop based server require non-blocking i/o libraries ? Does rust have that ?
- rubiquity 12y agoTo the best of my knowledge Rust's stdlib doesn't have non-blocking libraries yet. But since Rust is "close to the metal" you can easily use any of the non-blocking system calls in glibc. Mio (https://github.com/carllerche/mio#features https://github.com/carllerche/mio#features) seems to be doing just that.
- kxo 12y agoThat's exactly what they require. mio is one such example, I am working on another implementation.