eRFC: Experimentally add coroutines to Rust by alexcrichton · Pull Request #2033 · rust-lang/rfcs (original) (raw)

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

alexcrichton

@alexcrichton

This is an experimental RFC for adding a new feature to the language, coroutines (also commonly referred to as generators). This RFC is intended to be relatively lightweight and bikeshed free as it will be followed by a separate RFC in the future for stabilization of this language feature. The intention here is to make sure everyone's on board with the general idea of coroutines/generators being added to the Rust compiler and available for use on the nightly channel.

@nikomatsakis nikomatsakis added the T-lang

Relevant to the language team, which will review and decide on the RFC.

label

Jun 15, 2017

est31

@bestouff

@alexcrichton

@alexcrichton

@chpio chpio mentioned this pull request

Oct 7, 2017

This was referenced

Oct 17, 2019

spikespaz pushed a commit to spikespaz/dotwalk-rs that referenced this pull request

Aug 29, 2024

@bors

Generator support

This adds experimental support for generators intended to land once rust-lang/rfcs#2033 is approved.

This is not yet ready to be merged. Things to do:

@rust-lang rust-lang locked as spam and limited conversation to collaborators

Jan 1, 2025