Memory safe in D

Walter Bright newshound2 at digitalmars.com
Tue Mar 12 03:28:54 UTC 2024


On 3/11/2024 12:43 PM, Steven Schveighoffer wrote:
> The explanation is that D is expecting the memory hardware to fault when you 
> dereference null. We know that this is not the case for all situations

In particular, when a constant is added to the null reference that is large 
enough to skip over the protected pages in the memory space.



More information about the Digitalmars-d mailing list