-
Notifications
You must be signed in to change notification settings - Fork 48
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
const-evaluation #22
Comments
|
|
|
|
Update from meeting:
|
2020-06-22:
|
|
2020-07-06:
|
2020-08-3:
|
2020-08-10:
|
2020-08-31: No updates. |
2020-09-21: We have entered the "const evaluatable" check that allows you to have array sizes beyond |
@RalfJung opened rust-lang/rfcs#3016 with the following summary:
|
The blog post (in the skill-tree meeting it was discussed that basically all that is missing is a blog post referencing the current status of the skill tree that the lang team will sign off on) is now also ready: rust-lang/blog.rust-lang.org#719 |
Status updateFrom my perspective, the main thing happening here that is relevant for t-lang is rust-lang/rfcs#3016. This will unblock stabilizing some There's also a bunch of work going on under the hood on the implementation side (moving towards valtrees), but at least for now these should not have any visible effects. Longer-term I think this will be a great foundation for cleaning up our "structural equality" story around consts in patterns. |
rust-lang/rfcs#3016 has been merged, we can now start stabilization requests to the lang team for individual unsafe things like transmute or raw pointer derefs. valtrees are on ice until July and look promising except for some perf things that need to be figured out there's some discussion going on around panics with user defined messages during CTFE explicit promotion is being removed from the compiler (rust-lang/rust#85110). It was only used for SIMD intrinsic array lengths. Instead one now needs to specify a constant item and reference that in the length argument. There's work going on to replace all of these "magic arguments that must be constant" with const generics. This should simplify the compiler further and avoid having multiple schemes that do the same thing in slightly different ways. |
I am particularly happy about the last point. :D We are almost done with the multi-year effort of cleaning up the story around promotion. There is one last thread left to discuss, see rust-lang/rust#80619 for details. |
Status updaterust-lang/rust#85769 has been proposed for FCP, as our first foray into wildly There's been some setback with There was some more talk about floats and in particular NaNs during CTFE, but again it is unknown how to avoid introducing There might be more things, honestly I am not entirely sure.^^ |
Ah, I guess there's also inline consts. No progress, to my knowledge, but it would be really good to figure out what it would take to make progress here. :) |
Yeah, that's one reason why I brought it up. I don't really have any free cycles to work on this though, so I am not sure how much I can do. |
Summary
Const-evaluation, language team impact
Links
t-compiler/const-eval
The text was updated successfully, but these errors were encountered: