Skip to content
loading...

re: Are async frameworks really worth it? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Isn't that what async reactors do behind the scenes though? They use non-blocking calls to check which events are ready, and pick and trigger the a...
 

Async thingies don't just have a loop that constantly checks whether something has happened. They use a special system call to wait for any number of things at the same time (poll, select, epoll).

 

That's hardly the point here. You can use that "special system call" to wait for events even without an async framework, and if you have no choice but to constantly check a condition - you can still incorporate that into an async framework (I think that's what tokio-inotify does)

code of conduct - report abuse