On 05/16/2013 12:04 PM, Vadim wrote:
Tasks can be used as co-routines, but they impose restrictions on data types that can be exchanged (as well as add some scheduler overhead, I presume).

Are there any plans for separating stack switching and concurrency? (Or maybe there's already a module for this in the library, that I missed?)

I haven't put much thought into it yet, but the new scheduler has the coroutine context and the task state factored in a way that task-local coroutines that can capture @-boxes should be possible eventually.

-Brian
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to