4 ms·
The new memory model tried to make it possible to implement fat pointers with reference counters. That means that the compiler must be able to tell when a point
by quelsolaar 7y ago
The new memory model tried to make it possible to implement fat pointers with reference counters. That means that the compiler must be able to tell when a pointer is being copied. After the spec was ratified several people pointed out that its not possible to implement memcpy(typo sorry) since memcpy doesn't know what it is copying and might therefore copy a pointer without increasing the ref counter.