| ▲ | dzdt 3 hours ago | |||||||
For purely historical reasons the C/C++ stack is "small" with exactly how small being outside of programmer control. So you have to avoid using the stack even if it would be the better solution. Otherwise you risk your program crashing/failing with stack overflow errors. | ||||||||
| ▲ | csjh 3 hours ago | parent [-] | |||||||
What do you mean outside of programmer control? What's stopping you from setting the stack size in the linker flags? | ||||||||
| ||||||||