Good evening/morning Rustlers!
The saga of generators that started long long ago recently made progress as we concluded that we should land an implementation in the compiler and start experimenting (but not stabilizing). Even more recently the heroic efforts of @Zoxc and many others has culminated in an epic PR to implement coroutines in rustc. Now that we’ve made it this far, we need your help to go farther!
The purpose of the eRFC for coroutines was to provide the ability for the Rust community to test out generators on the nightly channel of the compiler. This feedback and testing will be the driving force for stabilization for this language feature and it’s absolutely essential!
One of the main driving factors for implementing coroutines has been async/await syntax for the
futures crate, and so we’re also very eager to have you test that out as well! You’ll not only exercise the
generators language feature but also
conservative_impl_trait and the fledgling
proc_macro “macros 2.0” ecosystem. We’re very eager to get feedback on all of these features as we approach stabilization!
If you’d like to get started here’s some helpful links:
- Nightly documentation for generators
- async/await introduction
- Generator examples in the form of tests
I’m quite eager to hear everyone’s feedback on all these features and goodies, please give them a spin and let us know how it goes! The next step for generators will be an RFC for stabilization, but we’re still aways away from that. With your help, though, we can try to approach it more quickly!