forcing weak purity

Alex Rønne Petersen alex at lycus.org
Wed May 23 17:26:33 PDT 2012


On 23-05-2012 19:16, deadalnix wrote:
> Le 23/05/2012 17:29, Don Clugston a écrit :
>> There's a huge difference between "a global collection *may* be
>> performed from a pure function" vs "it *must* be possible to force a
>> global collection from a pure function".
>>
>
> Thank you !

I personally disagree that this should be a rationale to not allow the 
latter. D is a systems language and we really should stop trying to 
pretend that it isn't. There's a reason we have a core.memory module 
that lets us control the GC.

-- 
Alex Rønne Petersen
alex at lycus.org
http://lycus.org


More information about the Digitalmars-d mailing list