Memory Safe Programming

user1234 user1234 at 12.de
Sun Aug 16 09:30:09 UTC 2026


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.


More information about the Digitalmars-d mailing list