Shouldn't invalid references like this fail at compile time?
Mike Franklin
slavo5150 at yahoo.com
Wed Jan 24 04:15:27 UTC 2018
On Wednesday, 24 January 2018 at 03:46:41 UTC, lobo wrote:
> Well if your embedded device has all that on it you should be
> sitting on an OS with proper memory management support.
I don't see how the OS can help if the underlying hardware
doesn't have an MMU. That being said, admittedly, the more
capable microcontrollers do have an MPU that can be configured to
throw a hardware exception.
> We don't use D, it is all C++ and some Ada in the older systems.
Why don't you use D?
Mike
More information about the Digitalmars-d
mailing list