On Friday, 5 January 2018 at 01:32:50 UTC, Walter Bright wrote:
On 1/3/2018 4:46 PM, Walter Bright wrote:
On 1/3/2018 3:16 PM, Martin Nowak wrote:

This is a stack overflow caused by having 4096 expression statements. The compiler joins them with a commaexpression, and then recursively traverses it.

> Nothing in the D part, not too surprising given dmd's approach to memory
management though ;).

Stack overflow has nothing to do with memory management.

I'm a little curious about the stack overflow. I thought Linux would automatically extend the stack if it overflowed?

it will, but only up to the rlimit. then it will SIGSEGV.


Reply via email to