Replies: 15 comments
-
The index operator feels a bit special compared to other operators. Does it has to be? |
Beta Was this translation helpful? Give feedback.
-
@qrli that wouldn't let you store an index-from-the-rear into a variable. You would need a second variable to track the direction. |
Beta Was this translation helpful? Give feedback.
-
@yaakov-h But why do you want to store an index-from-the-rear, instead of an integer, into a variable. |
Beta Was this translation helpful? Give feedback.
-
So that you can pass it to a function, or hang onto it from later, or return it from a calculation, or, or, or... |
Beta Was this translation helpful? Give feedback.
-
Due to lack of reaction on my question in compiler intrinsics thread I would like to ask again: is there any chance to change milestone for compiler intrinsics from X.X to |
Beta Was this translation helpful? Give feedback.
-
I'm not sure what you want that change to achieve. |
Beta Was this translation helpful? Give feedback.
-
@4creators The notes say that we don't want to accept the proposal as is, so if we got an implementation of the current proposal we would reject it. |
Beta Was this translation helpful? Give feedback.
-
My question is directed at the timing the feature would be open for contributors for implementation. My understanding is that design is not ready yet to be accepted. In case there would be any roadmap for feature it would be great to know it. |
Beta Was this translation helpful? Give feedback.
-
Until we have the proposal in a state LDM likes, I don't think we can give a milestone for implementation. As to when we'll get the next proposal iteration through LDM...? I'm not sure. @jaredpar is still working on the proposal AFAIK and the LDM schedule often comes down to when people are available to meet and whether we have high priority things to discuss, like questions about proposals we've already set in the 8.0 time frame. |
Beta Was this translation helpful? Give feedback.
-
@yaakov-h Yes, you can. But why? It does not give you any advantage over plane integer. |
Beta Was this translation helpful? Give feedback.
-
The notes say that the index operator doesn't need another overload, but wouldn't a |
Beta Was this translation helpful? Give feedback.
-
The milestone attached to a feature does not restrict when community contributions would be accepted. It is instead a statement of what type of release we feel is appropriate for a feature.
Even so if we're in the middle of a minor release that doesn't mean we would stop community from working on a major release feature. It's just going to be less of a priority to review and it may have to be held in a side branch until a major release comes along that it could be merged into. That being said will also echo what @agocke said that the feature still doesn't have an agreed upon design. I'm actively working on a few other proposals here for LDM to take a look at. In the mean time there are plenty of other features with solid designs that lack implementations. |
Beta Was this translation helpful? Give feedback.
-
@jaredpar Thanks for thorough explanation. |
Beta Was this translation helpful? Give feedback.
-
@TheUnlocked You're thinking of the "indexer", while we're referring to the "index operator" (^). This is indeed confusing, which is why we're renaming '^' to the "hat operator". |
Beta Was this translation helpful? Give feedback.
-
@agocke Yeah that makes a lot more sense now. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/dotnet/csharplang/blob/master/meetings/2018/LDM-2018-09-05.md
Agenda
Beta Was this translation helpful? Give feedback.
All reactions