D - Unsafe and doomed

deadalnix deadalnix at gmail.com
Sat Jan 4 11:17:59 PST 2014


On Saturday, 4 January 2014 at 19:05:54 UTC, Walter Bright wrote:
> On 1/4/2014 5:49 AM, Timon Gehr wrote:
>> Hence it is fine to claim that the lack of dereferenceable 
>> null pointers makes a
>> language safer, even though it has no bearing on memory safety.
>
> I believe it is misusing the term by conflating safety with 
> bug-free.

Dereferencing a null pointer is ALWAYS an error, just as 
dereferencing freed memory is.


More information about the Digitalmars-d mailing list