Coroutines Implementations
Discussions center on coroutines, comparing stackless and stackful implementations, continuations, and their use across languages like C++, Go, Rust, Kotlin, Lua, and others.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Or provide continuations and use them to implement coroutines.
A simple experimental implementation of coroutines alternative to well-known "stackless" and "stackful" methods.
How does this compare to Kotlin coroutines/continuations ?
Cheap-enough coroutines seem to be new in C++ but what about other languages such as Go, Rust, Haskell?
That's really cool, and much lighter weight for the purpose of coroutines!
Further evidence: coroutines are often implemented as state machines under the hood.
You should look at LuaJIT's coroutines as an option.
Coroutines are an abstraction though.
Oh, only co-routines? So you've implemented callcc already?
Can you explain what makes C++ coroutines work better than Rust futures?