Historical accident. Imagine if PDP-7/PDP-11 easily allowed for the following memory layout:
FFFF +---------------+ | text | X +---------------+ | rodata | R +---------------+ | data + bss | RW +---------------+ | heap | | || | RW | \/ | +---------------+ | empty space | unmapped +---------------+ | /\ | | || | RW | stack | 0000 +---------------+
reply
Historical accident. Imagine if PDP-7/PDP-11 easily allowed for the following memory layout:
Things could have turned out very differently than they have. Oh well.