-
Notifications
You must be signed in to change notification settings - Fork 302
Post: Stabilizing async fn in traits in 2023 #1102
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
Conversation
I'd love to make time to review this, but won't be able to during the weekend. Can the target publication date be pushed back to Tuesday instead of Monday so we can have at least one workday to read this over? |
Pushed to Tuesday. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exciting stuff! one likely typo and potential missing link noted below
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
Feedback should be addressed now. |
In my opinion this post does not yet accurately represent the collective decisions made by the Async WG. Unless these decisions were walked back in a later meeting I was not present for 1, I would like to see them represented in this post. Specifically, I believe the following changes should be made:
Footnotes
|
@yoshuawuyts I added a preview of the proc macro syntax along with some wording alluding to this in the MVP Part 2 section. I think the post heading is quite clear in saying what I think the post should say:
I don't personally see a need to put this more front and center, because I don't think most readers will be directly affected or think about this, and I still think we need to gain more experience with the feature to see how often this becomes annoying in practice. (I hope this doesn't come across as dismissive of your or @eholk's experience – I think it's valid and that's why this section exists in the post in the first place.)
Implying that isn't really my intent, but I think the statement still rings true. I added some wording to the post that explains why: People have a need for the fine-grained control provided by ART, so we should stabilize that more general mechanism first. I feel good about the sentence you quoted, but happy to take suggestions for rewording. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nits.
I had already logged off for the day, but I also don't want to further delay this post. @tmandry: from skimming the updated text it seems like it now more closely represents what we had agreed on. I haven't yet read Niko's proposed change, but from the context I trust it enough that between you two you can agree on the right phrasing to use. Removing my blocking concern; thanks so much to both of you! |
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I made a couple suggestions, but I think the most important thing is to get this post out there so feel free to ignore my comments.
I'm okay with how this is written. It highlights that we are aware of some ergonomic issues, but I think it's true we need more experience to find out big of an issue this is in practice. Publishing this blog post also serves as a call for people to try it out and see if it works for them. The only potential open question we have is whether we are 100% convinced people will need or want the extra flexiblity afforded by ART. It seems likely to me that we will, but I also don't feel like we have a lot of data yet that says this. That said, I think it's fair to say that the sense of the group is that we will need this flexibility so we can stabilize it now and iterate on a less verbose solution. |
Co-authored-by: Eric Holk <eric@theincredibleholk.org>
FYI: I plan to post today around 10am US Eastern |
This post lays out our plan for how to stabilize
async fn
in traits in 2023. Co-authored with @nikomatsakis.cc @rust-lang/wg-async
Targeting Wednesday May 3 for publishing.