News for hackers. Stuff that matters.
Re:Comparison of Rust async and Linux thread context switch ... by kohlerm on Friday February 12, 2021 @02:38AM (#26111466)
To me it looks like the main advantage of async is memory usage, which is kind of expected because of the overhead of a thread. But if you do not need lots of thread it doesn't look like there is a huge benefit going async. Or do I miss something here?
Re:Comparison of Rust async and Linux thread context switch ... by mikeschmatz on Friday February 12, 2021 @10:34AM (#26114756)
It was my conclusion as well. I only found async useful in situations when a service has to deal with a large number of incoming requests, e.g. web server