Want reasonable reference counting? Disable automatic sharing of immutable

Stanislav Blinov stanislav.blinov at gmail.com
Sun Nov 14 02:54:52 UTC 2021


On Sunday, 14 November 2021 at 02:24:42 UTC, Elronnd wrote:

> A signal handler may not be pure, and it may be called at any 
> time.  Including during the execution of a pure function.  
> Hence, your argument implies that no function should ever be 
> marked as pure, because it may be interrupted by a signal 
> handler which has some effects.

Yes, yes, and cosmic radiation may flip a bit in my CPU thus also 
mutate my state. I still don't see what that has to do with the 
language and its runtime.


More information about the Digitalmars-d mailing list