Re:Bad programming ideas that only become apparent after years
by Gibbon1 on Sunday December 27, 2020 @04:39PM
(#25554491)
What I see as a bad idea is we created systems where the stack is a precious resource. For no actual good reason. You only have a few MB worth of stack. Why, because traditionally CPU's had one stack pointer.
We stick with this despite that stack allocation is vastly faster than heap.
We stick with this despite that stack allocation is vastly faster than heap.