Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream trait and related issues #34

Closed
nikomatsakis opened this issue Jul 8, 2020 · 11 comments
Closed

Stream trait and related issues #34

nikomatsakis opened this issue Jul 8, 2020 · 11 comments
Labels

Comments

@nikomatsakis
Copy link
Contributor

Summary

In the context of the Async Foundations group, @nellshamrell has been drafting an RFC to stabilize the Stream trait. See e.g. rust-lang/wg-async#15 for the latest round of edits. While the actual content of the RFC is perhaps more libs than lang (introducing a trait), the choice of whether or not to introduce this trait touches on a number of lang issues, particularly around forwards compatibility, and I thought it would be good to discuss as a group.

Some of the issues I thought particularly relevant:

  • Method dispatch ambiguity issues around migrating extension methods from futures crate to the stdlib (a common scenario that also applies to e.g. itertools for iterators)
  • Coherence issues if we attempted to bridge a Stream trait with a future LendingStream (a.k.a., "streaming stream" or "attached stream") trait
  • The possibility of generator syntax and potential compatibility issues that may arise there

cc @rust-lang/wg-async-foundations @sfackler

Background reading

Draft RFC: rust-lang/wg-async#15

About this issue

This issue corresponds to a lang-team design meeting proposal. It corresponds
to a possible topic of discussion that may be scheduled for deeper discussion
during one of our design meetings.

@nikomatsakis nikomatsakis added meeting-proposal Proposal for a lang team design meeting T-lang labels Jul 8, 2020
@nikomatsakis nikomatsakis added this to Meeting Proposals in Lang Team Jul 20, 2020
@nikomatsakis
Copy link
Contributor Author

We were thinking of scheduling this for Aug 12 -- cc @withoutboats @nellshamrell @cramertj and @yoshuawuyts are y'all available on that date for the lang team design slot? (And others, those are folks who expressed interest to me in the past...)

@yoshuawuyts
Copy link
Member

@nikomatsakis yes, that works for me!

@nellshamrell
Copy link

Works for me!

@nikomatsakis
Copy link
Contributor Author

Scheduled: calendar event

@cramertj
Copy link
Member

Yes, I'll be there!

@nikomatsakis
Copy link
Contributor Author

Hmm, so I think we ought to postpone this by a week. In light of the Mozilla layoffs there is an important meeting that I have to attend that conflicts with this slot.

@nikomatsakis
Copy link
Contributor Author

I took the liberty of moving calendar invite to Aug 19.

@LucioFranco
Copy link
Member

That cal event shows may 13th? Just to confirm this is aug 18 at 1p eastern time?

@tmandry
Copy link
Member

tmandry commented Aug 19, 2020

Looks like this was bumped again to next week.

@joshtriplett joshtriplett removed the meeting-proposal Proposal for a lang team design meeting label Sep 28, 2020
@nikomatsakis
Copy link
Contributor Author

nikomatsakis commented Nov 10, 2020

@programmerjake

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants