On Efficient Concurrency, Sharing, Move Semantics in Rust vs D

"Nordlöw" via Digitalmars-d digitalmars-d at puremagic.com
Tue May 13 04:04:17 PDT 2014


>> but I believe it would be better to let the (D) compiler 
>> optimization stage figure out _automatically_ if it needs to 
>> make a copy of the variable `numbers` or not depending on 
>> whether `numbers` is used or not further down the body of

I'm surprised that nobody has answered this discussion...

Isn't this an important question/possibility now that we soon 
have inference of uniqueness/immutability in DMD from Walters 
work?

Ping!


More information about the Digitalmars-d mailing list