News for hackers. Stuff that matters.
Re:What is “the stack”? by vram22 on Thursday March 03, 2016 @09:07AM (#11216858)
This question reminds me of this Twitter thread, started by @raymondh:

Programmer survey: Do visualize consecutive memory locations as running left-to-right, right-to-left, top-to-bottom, or bottom-to-top?

https://mobile.twitter.com/raymondh/status/69510373753937510...

Re:What is “the stack”? by gnuvince on Thursday March 03, 2016 @09:49AM (#11217091)
Left-to-right for me; vertical is confusing because I like to put address 0 at the top and address MAX at the bottom, but then the stack "grows down" and I get confused.
Re:What is “the stack”? by mcguire on Thursday March 03, 2016 @11:44AM (#11218012)
Strangely, on the processors I'm familiar with, the stack would grow up in that orientation.
Re:What is “the stack”? by scott_s on Thursday March 03, 2016 @10:19AM (#11217311)
Left-to-right when I'm reasoning about general address spaces, but top-to-bottom when reasoning about the stack specifically.
Re:What is “the stack”? by vram22 on Thursday March 03, 2016 @12:10PM (#11218226)
Good reasoning for common processors that grow the stack downwards. Those are what I've worked with. Mentioning it because I saw about some other types in this thread.