-
-
Notifications
You must be signed in to change notification settings - Fork 419
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
Change name of identityof operator to digestof. #774
Comments
Probably, yes. But I'll wait for @sylvanc to weigh in. |
We discussed this on this week's sync call. This question brings up another problem, which is that the We decided that the name of I'm changing the name of the ticket to reflect this strategy. |
Also, we want to keep the size at |
I'm not sure everything is consistent here. We currently have a The interface
The operator
The operator doesn't look good to me. Sometimes it is operating on the contents and some other times on the addresses with no real reason other than "machine words aren't really objects", which I don't think is true especially with the machine word autobox in (and I expect the result of the operator on the same number boxed and unboxed will be different, which is bad). I think we should
|
That's not quite true, the
As you imply in this paragraph, if we want to make
This is kind of exactly the point. The use cases for the behaviour that you're proposing for |
I agree with @jemc. The name The relation For example, given an object allocated at As @jemc points out, @Praetonus: I think this conversation has been super productive, actually, because it reinforces that |
PR #791 |
Closed via #791 |
This isn't consistent with other pointer/address related stuff. Is it an oversight from the 32 bits port, which introduced
USize
?The text was updated successfully, but these errors were encountered: