std.functional.memoize : thread local or __gshared memoization?

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Sat May 27 00:20:10 PDT 2017


On Thursday, 25 May 2017 at 14:56:25 UTC, Jonathan M Davis wrote:
> But we do need to get this ironed out well enough that we can 
> definitely tell folks that shared is what it's going to be so 
> that they'll stop using __gshared all over the place to try and 
> work around shared - or at least if they do so, they won't be 
> able to do so with the excuse that shared is not complete.

People don't have to use shared, D supports old good "anything 
can be shared" C model, if people think C model is good enough 
for them, they can use it.


More information about the Digitalmars-d mailing list