Discussion Thread: DIP 1028--Make @safe the Default--Final Review

Kagamin spam at here.lot
Thu Mar 26 19:24:38 UTC 2020


On Thursday, 26 March 2020 at 16:19:44 UTC, Atila Neves wrote:
>> I suspect 95+% of C's problems already are extremely rare in D,
>
> Yes. The remaining 5% are all related to the stack and 
> allocating on the C heap.

@safe doesn't deal with stack and C heap, it only suppresses C 
reflexes in the former 95%.

> If you allocate on the GC heap and use -preview=dip1000, then

Then you don't allocate on stack and C heap.


More information about the Digitalmars-d mailing list