Re:Asynchronous IO in Rust
by acconsta on Wednesday September 16, 2015 @06:09PM
(#10230259)
I'm not sure what you mean by the "syscall overhead", but I 100% agree that stackless coroutines in Rust would be amazing. But I'm also skeptical that they can be implemented as a library without compiler support. C++ only manages with some very unhygienic macros, switches, and gotos:
https://github.com/chriskohlhoff/asio/blob/master/asio/inclu...