Vladimir Panteleev wrote:
On Fri, 15 Oct 2010 02:45:33 +0300, Denis Koroskin <2kor...@gmail.com> wrote:

I've heard that happens in D, too. You can still call C functions at your peril, and no people complained so far.

I believe D (DMD, at least) is in the exact same situation as C is as far as the stack goes.

The point of a segmented stack is to allocate stack in small bits, meaning you'll be highly likely to run out of stack calling functions that do not check for stack overflow. The usual C method, which is followed by D, is to estimate the max stack used beforehand.

Reply via email to