Re:Comparison of Rust async and Linux thread context switch ...
by gpderetta on Friday February 12, 2021 @07:24AM
(#26112903)
using threads (or, my preference, stackful coroutines) does not prevent you from using futures for pipelining and composing computations. But it avoids having to explicitly [1] chain continuations to wait on them.
[1] I count await as explicit as it forces the awkward top level only suspend model.
[1] I count await as explicit as it forces the awkward top level only suspend model.