Sharing in D

Walter Bright newshound1 at digitalmars.com
Sat Aug 2 01:43:10 PDT 2008


Sean Kelly wrote:
> This sounds right.  My only concern for the injected fences is that it won't always
> result in optimal code for what the user is doing.  But it will be safe, which I
> guess is pretty important (by "optimal" I mean that you don't always need fences
> for an operation depending on the hardware and on whether you care about code
> movement across the operation).

You're right, it won't always be optimal. The idea is to get it right 
and then just optimize the bottlenecks.



More information about the Digitalmars-d mailing list