Re:Coroutines in C with Arbitrary Arguments
by errordeveloper on Sunday April 19, 2015 @06:08AM
(#9402613)
I have recently found this: https://github.com/rustcc/coroutine-rs
Interesting, but the documentation does not seem to describe how stacks/memory management is done.
Re:Coroutines in C with Arbitrary Arguments
by keeperofdakeys on Sunday April 19, 2015 @08:54AM
(#9402953)
From a quick look at the code, it seems to use segmented stacks with memory mapping. https://github.com/rustcc/coroutine-rs/blob/master/src/stack...
Also, how is Rust's support for coroutines?