On Feb 1, 2012, at 11:00 AM, Mouse wrote:
  Only with respect to some kinds of portability.  For
exmaple, I don't
 think anyone used byte sex other than big-endian, little-endian, and
 PDP-endian; a checkout compiler could use a byte order like 1423 or
 2134 or 2413.  As another example, consider 8-bit chars, but with
 3-byte short, 5-byte int, and 7-byte long - I expect there's some code
 out there that would explode because long is not an integral number of
 ints or shorts - and it could use a byte order like 24513.  Perhaps a
 stack that does not grow in a well-defined direction. 
Now I want to make a compiler that stores items on the stack based on a PRBS sequence.
You end up with guaranteed order within 2^n - 1 bytes, at least, and it would make most
stack-smash exploits relatively difficult.
- Dave