@live questions

Timon Gehr timon.gehr at gmx.ch
Sun Nov 22 19:46:02 UTC 2020

On 22.11.20 08:22, Walter Bright wrote:
>> It seems to me that both @live and @safe should be available as 
>> compiler flags to turn them on - and not have to rely on annotations. 
>> Is this possible? 
>  > Certainly in Laser-D I would like these to be ON by default and 
> annotation
>  > should be to suppress rather than enable.
> My DIP to make @safe the default failed.
> ...

(You could have addressed the problems with the proposal instead of 
retracting it, in which case it would likely have succeeded.)

> Turning @live on by default would be brutal :-)

It would also be stupid. `@live` is not some sound extension of `@safe`, 
it's orthogonal and it's really only useful in some niche kinds of 
`@system` code.

More information about the Digitalmars-d mailing list