[rust-dev] Integer overflow, round -2147483648

comex comexk at gmail.com
Wed Jun 18 12:40:41 PDT 2014

On Wed, Jun 18, 2014 at 1:08 PM, Gábor Lehel <glaebhoerl at gmail.com> wrote:
> To partially address this, once we have tracing GC, and if we manage to make
> `Gc<T>: Copy`, we should add unbounded `Integer` (as in Haskell) and
> `Natural` types which internally use `Gc`, and so are also `Copy`. (In
> exchange, they wouldn't be `Send`, but that's far less pervasive.)

Wait, what?  Since when is sharing data between threads an uncommon use case?

(Personally I think this more points to the unwieldiness of typing
.clone() for cheap and potentially frequent clones like Rc...)

More information about the Rust-dev mailing list