Sharing in D

Robert Fraser fraserofthenight at gmail.com
Wed Jul 30 19:14:41 PDT 2008


Walter Bright Wrote:

> http://www.reddit.com/comments/6u7k0/sharing_in_d/

WANT. It would be very useful for certain applications. However, I'm 
worried that this may perhaps add even more complexity to an already 
stretched type system.

How about making the less safe alternative (shared/unchecked) the 
default (so current programs keep working the way they already do) and 
people who want the additional compelxity and overhead use unshared 
explicitly (just as const/invariant is not the default and people need to 
explicitly  say that).



More information about the Digitalmars-d mailing list