DIP1000: Scoped Pointers
Walter Bright via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Fri Aug 12 12:39:52 PDT 2016
On 8/12/2016 5:33 AM, Nordlöw wrote:
> If this is successfully implemented, what will D not be able to do, that Rust
> can/will?
Have ownership semantics for pointers in more complex data structures. In D
you'll have to do such with ref counted objects.
On the other hand, D code can reference mutable globals in @safe code, whereas
Rust cannot.
Assuming, of course, I understood the Rust semantics correctly.
More information about the Digitalmars-d-announce
mailing list