News for hackers. Stuff that matters.
Re:Exploiting Coroutines to Attack the “Killer Nanoseconds” ... by tuukkah on Sunday November 11, 2018 @03:45AM (#18425517)
Cheap-enough coroutines seem to be new in C++ but what about other languages such as Go, Rust, Haskell?
Re:Exploiting Coroutines to Attack the “Killer Nanoseconds” ... by AlexanderDhoore on Sunday November 11, 2018 @06:20AM (#18425888)
Go has channels which are much more like fibers. Full threads of their own with actual stacks (which can be moved in Go).

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.

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...