On 05/22/2013 03:52 AM, Niko Matsakis wrote:
After our meeting yesterday I was thinking that perhaps `Freeze` is
not the best name for what is now `Const`.  Given that we wound up
disliking `Owned` because it described a property of the type, and not
what you could do with it, perhaps the best name for `Const`/`Freeze`
would be something related to sharing between threads. Therefore I
nominate `Share` (or some similar name).

I was thinking of this too, but I dislike the name shared for two reasons:

* we've also used it to mean 'shared locally' - 'shared pointers' e.g. managed pointers.
* there are plenty of types that are shared memory but not immutable

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to