Re:Rust async/await hits stable tomorrow
by vbezhenar on Wednesday November 06, 2019 @02:24PM
(#21466069)
You can use async network calls to handle multiple number of connections (in library code) yet use thread pool to write business logic (application code).
I'm not suggesting to just use blocking I/O API. Non-blocking API like select/epoll/etc is very useful and should be utilized whenever possible. I'm about those language features.
I'm not suggesting to just use blocking I/O API. Non-blocking API like select/epoll/etc is very useful and should be utilized whenever possible. I'm about those language features.