Comment

Comment by ellis-bell

but then the heap would grow down in such a diagram...

btw my understanding is that the heap came first in the logical development of C and other systems programming. so it made sense to have .text and other program data at the lowest virtual memory addresses and then have the heap grow towards higher memory addresses.

then when the stack became a thing it had to grow down...

parent ellis-bell 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton