Isolated by example

Dylan Knutson via Digitalmars-d digitalmars-d at puremagic.com
Fri May 2 11:32:11 PDT 2014


Correct me if I'm wrong here, but this seems really similar to 
how Rust does owned pointers and move semantics. Or is there a 
large conceptual difference between the two that I'm missing?

I believe that the issues that people are bringing up with bad 
interaction with UFCS, and losing isolated data after passing it 
to a function, are managed in Rust with the notion of a borrowed 
pointers. Perhaps something analogous to this could accompany the 
`isolated` idea?


More information about the Digitalmars-d mailing list