Re: Out-of-bounds nonsense



Richard Heathfield <invalid@xxxxxxxxxxxxxxx> writes:

Charlton Wilbur said:

Do the wrong thing with your memory, and the computer crashes.

Might crash. Or might do something more - um - creative. Or might do what
you expected. Or might do what you expected *and* something creative with
which to surprise you later on. Isn't programming exciting!?

True. I learned C on MIPS machines with memory protection, and so
when I did the wrong thing with my memory, the program obligingly
crashed. As annoying as it was at the time, this was a great
pedagogical help.

Then I started working on Linux at home and MIPS or Alpha at school,
and learned what "portable" really meant -- and that was just among
different varieties of Unix.

Charlton


.



Relevant Pages

  • Re: Linux on Palm/Sony PDAs?
    ... Memory protection should crash the misbehaving application, ... RB |\ © Randall Bart ...
    (comp.os.linux.portable)
  • Re: incredible
    ... > Or maybe because Bill has always liked self-modifying code. ... >>Embedded systems are big on memory protection and one observes that ... With bug-less code, never a crash! ...
    (sci.electronics.design)