edef1c / libfringe

a Rust library implementing safe, lightweight context switches, without relying on kernel services
https://edef1c.github.io/libfringe
Apache License 2.0
512 stars 31 forks source link

Consider interactions with real generators #72

Closed whitequark closed 7 years ago

whitequark commented 7 years ago

They just landed: https://github.com/rust-lang/rust/pull/43076 No idea what we should do with them, maybe nothing

edef1c commented 7 years ago

:woman_shrugging: you can't even send values into them

whitequark commented 7 years ago

Yeah I just read the RFC and meh

eddyb commented 7 years ago

The limitations are to advance the (already kind of late) async fn without introducing even more complexity - take a look at the implementation PR and how much back & forth happened on it.

whitequark commented 7 years ago

I'm not really criticizing it so much as lamenting their uselessness for my pet use case. Nothing to worry about