-
Notifications
You must be signed in to change notification settings - Fork 287
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
Add project group for const traits initiative #1173
Conversation
IDK if this needs an MCP or anything Also this is less "starting up a new project group" and more "reflecting the existing set of people working on a specific initiative". If this PG didn't exist, the work would still get done, but of course I'd be a bit sadder. |
The PR proposes to spin up a new initiative to cover the implementation of the ConcernsI worry that by formally creating a group which is solely responsible for a const generics feature, we may end up experiencing ambiguity over who is responsible for what part of the feature. On paper at least the effects initiative is currently responsible for both the design and experimentation with effect generics 1. Though in practice of course @fee1-dead has been driving most of the implementation work for this, with the other members on this PR's charter helping out. With @oli-obk acting as a shared bridge back to the Effects Initiative. By splitting custody of This PR scopes Alternative ProposalI would like to put an alternative proposal forward: @fee1-dead, @fmease, and @compiler-errors formally join the Effects Initiative roster - and we find a shared slot to discuss implementation. If need be, for administrative purposes we can make it a joint initiative between T-Lang and T-Compiler 2. That would provide an opportunity for both the lang and compiler side of the work to sync up between one another, without having to rely on @oli-obk as our sole go-between. This may not be the only path forward we have to us, but to me this seems like a practical solution. I'm not particularly committed to this specific structure, but I want us to take potential conflicts here seriously. I believe we should take steps to proactively ensure we're communicating, and we don't end up in bad situations because we haven't been talking to one another. Footnotes
|
I agree with this. the effects initiative is about the language level design, while this project group is for the implementation work in the type system. I don't believe there is much of an issue if the language design changes from what the impl does, and we need to adjust the impl. That part is mostly at the syntax and lowering level, and not what made implementing effects a hard thing |
Fair enough; Oli and I also talked offline a bit and we should be good for now with Oli serving as a bridge between both groups. Withdrawing my concern; excited for const traits! |
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.
This makes sense to me!
I don't think const traits is related to const generics. They are two separate initiatives, though I do agree that the naming can be confusing. The approval for experimentation is here |
I'm happy to chat about this on Zulip, and I agree that communication needs to be better. AFAIK, the implementation has been for const traits since the beginning, with the implementation design allowing it to be easier to implement other effects as well. Given the narrow focus of our current progress, and that no concrete proposals for how other syntaxes would work (like Anyways, it would be nice if we continued this discussion elsewhere, since it is irrelevant to the formation of this project group for now. |
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.
It seems there was some discussion on whether this group should exist at all. It would be probably be better in the future for such discussion to happen elsewhere so that this repo can be used for more mundane particularities.
That being said, it seems that @davidtwco has approved this PR so it can be merged. I'll wait a bit to make sure I didn't misunderstand where this discussion landed.
Could somebody with the right set of permissions create a Zulip stream, #t-compiler/project-const-traits I guess? Thanks in advance :) |
This PR adds a project group for the "const traits" initiative.
@fee1-dead and a few others have gathered around an effort to enable const traits in the language (rust-lang/rfcs#2632). The RFC never landed, but work has been under experimentation (rust-lang/rfcs#2632 (comment)), and has gained speed especially recently since all of the work was ripped out and reimplemented under the new
#![feature(effects)]
.Adding this PG helps to acknowledge some of the people who work on this feature, and allows us to have a single ping group for important PRs, etc.
This PG is related to the keyword generics initiative (cc @rust-lang/initiative-keyword-generics) in that it's implementing a "const" effect, but I'd like for this to be under the stewardship of the compiler team (or ideally, types team, but that's not possible), since it's primarily focused around practical implementation work and implementation concerns (allowing users to implement and call
const
traits), rather than theoretical work of designing an over-arching feature of the language like the kw-generics initiative aims to do.