News for hackers. Stuff that matters.
Re:Comparison of Rust async and Linux thread context switch ... by IgorPartola on Friday February 12, 2021 @08:15AM (#26113266)
I guess I am that no one. I come at all this from writing queues from scratch and using threads or processes for concurrency. I also had a lot of fun writing my own networking hot loops with select/poll/spill/kqueue when my work needed it, so I guess I am extra sensitive to making concurrent things actually concurrent. But I would not dream of making three independent requests like that sequentially. There are other patterns you can use besides waiting for all tasks to finish, especially if you can do some processing after the first are done, but all in all why wouldn’t you make them concurrent aside from liking seeing await/async all over the place?

There are no comments on this comment yet.