Re:The ancient world before computers had stacks or heaps
by II2II on Wednesday April 03, 2024 @12:45PM
(#39919701)
While I am not a fan of recursion, the call stack that enables it sounds infinitely better than statically allocating space for parameters and return values. Besides, it makes some algorithms clearer. That is certainly useful in learning environments, including early academic research.
[ Parent
| on HN ]
Re:The ancient world before computers had stacks or heaps
by Joel_Mckay on Wednesday April 03, 2024 @01:50PM
(#39920637)
Depends on the CPU, in some architectures the stack pointers had low finite capacity before overflowing.