Re:Exploiting Coroutines to Attack the “Killer Nanoseconds” ...
by tuukkah on Sunday November 11, 2018 @07:12AM
(#18426029)
Rust seems to have stackless coroutines as an experimental language feature: https://doc.rust-lang.org/nightly/unstable-book/language-fea...
If C++ or Rust ever get coroutines they will be more low-level. Just a control flow construct which compiles coroutines down to state machines. So it's concurrency, not parallelism. High performance for one thread, but less powerful conceptually.
Rust used to have segmented stacks, but they removed it because performance was unpredictable.