Memory Safe Programming

libxmoc libxmoc at gmail.com
Mon Aug 17 16:21:39 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

Memory safety is best when it is intentionally, forcing it 
everywhere by default usually achieves the opposite of its goal 
by adding unnecessary friction

D shouldn't try to replicate Rust, its real strength is 
ipragmatism, giving the flexibility to opt into safety where it 
matters without imposing it where it doesn't


More information about the Digitalmars-d mailing list