Program logic bugs vs input/environmental errors

Sean Kelly via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 4 09:16:49 PDT 2014


On Saturday, 4 October 2014 at 09:18:41 UTC, Walter Bright wrote:
>
> Threads are not isolated from each other. They are not. Not. 
> Not.

Neither are programs that communicate in some fashion.  I'll 
grant that the possibility of memory corruption doesn't exist in 
this case (a problem unique to systems languages like D), but 
system corruption still does.  And I absolutely agree with you 
that if memory corruption is ever even suspected, the process 
must immediately halt.  In that case I wouldn't even throw an 
Error, I'd call exit(1).


More information about the Digitalmars-d mailing list