Discussion Thread: DIP 1035-- at system Variables--Community Review Round 2

Paul Backus snarwin at gmail.com
Mon Mar 1 21:26:18 UTC 2021


On Monday, 1 March 2021 at 20:55:40 UTC, Atila Neves wrote:
> On Thursday, 25 February 2021 at 09:21:20 UTC, Mike Parker 
> wrote:
>> This is the discussion thread for the second round of 
>> Community Review of DIP 1035, "@system Variables":
>>
>> [...]
>
> "pointers, arrays, and other reference types are unsafe"
>
> This confused me. Pointers aren't unsafe unless you got one 
> from @system code. Could you clarify please?

The language here is sloppy, but the intent is to refer to 
pointer *types*, not pointer *values*. It should read, "pointer 
types, dynamic array types, and other reference types are unsafe."


More information about the Digitalmars-d mailing list