95 ms·
If there's no stack size limit, there's no stack overflow. And if there's no Stack Overflow where do we get our codez?
by jimohalloranau 5y ago
If there's no stack size limit, there's no stack overflow. And if there's no Stack Overflow where do we get our codez?
- yjftsjthsd-h 5y agoIf there's no limit, the things that would overflow will generally just eat memory until you OOM, so not really that different.
- rurban 5y agoWrong. Without fixed stack size limits you can tune heap vs stack usage dynamically. Eg allow deeper recursions when needing less heap memory. Eg it would allow longer lists. Stack overflows would need to be checked dynamically against the brk.