Shouldn't invalid references like this fail at compile time?

Walter Bright newshound2 at digitalmars.com
Thu Jan 25 02:41:53 UTC 2018


On 1/23/2018 6:28 PM, Mike Franklin wrote:
> I think you need to get involved in programming microcontrollers again because 
> the landscape has changed drastically.  The microcontrollers I use now are more 
> powerful than PCs of the 90's.

Ok, but are these devices with 0 being a valid address?

It seems weird to me that any sane modern CPU design that can access megabytes 
of memory would have 0 be a valid address.


More information about the Digitalmars-d mailing list