Memory Safe Programming
Kapendev
alexandroskapretsos at gmail.com
Mon Aug 17 15:45:29 UTC 2026
On Sunday, 16 August 2026 at 09:30:09 UTC, user1234 wrote:
> On Sunday, 16 August 2026 at 08:50:38 UTC, GB wrote:
>> It's primarly about memory safety in C, but D gets a mention
>> in the Appendix I.
>>
>> But it raises the question: why isn't @safe not the default in
>> D?
>>
>> https://strawberry9.github.io/the-wrong-memory
>
> This was proposed as DIP 1028 which was not accepted.
>
> - https://forum.dlang.org/thread/raq4fg$1ab4$1@digitalmars.com
> -
> https://github.com/dlang/DIPs/blob/master/DIPs/rejected/DIP1028.md
>
> TLDR; if my memory serves me right the problem was that such a
> choice should have been done since day 1. D2 first realease
> date is early 2010's. DIP 1028 was 10 years after. Too late.
> Too much breakage in the eco-system.
I am in team safe by default and float/double.init = 0.
More information about the Digitalmars-d
mailing list