Why is D unpopular?

Walter Bright newshound2 at digitalmars.com
Thu May 19 18:39:51 UTC 2022


On 5/19/2022 12:30 AM, Dukc wrote:
> One hole that remains: 
> https://forum.dlang.org/thread/kazglmjwsihfewhscioe@forum.dlang.org
> 
> According to a reply, the current langauge implementation does not cause 
> anything special to happen, but it is still undefined behaviour in `@safe` code 
> if we go by the spec.

I'm aware of that, but if the user selects "ignore the asserts" then he assumes 
the risk of what happens if the assert would have otherwise tripped.

Just like if the user turns off array bounds checking.

You want an option for it to continue and be defined behavior. Others have 
argued for this, too, but that makes it kinda pointless to have.


More information about the Digitalmars-d mailing list