forcing "@nogc" on class destructors

via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 20 13:37:54 PST 2015


On Tuesday, 20 January 2015 at 21:29:40 UTC, Steven Schveighoffer 
wrote:
> How's that? The current runtime aborts on memory allocation 
> inside the GC collection routine, it's not a memory safety 
> issue.

Spurious race conditions in memory deallocation patterns that 
remain undetected and cause random crashes after deployment are 
ok? That is not memory safety, it is "memory safety".

The language should prevent this.


More information about the Digitalmars-d mailing list