A proper language comparison...
Walter Bright
newshound2 at digitalmars.com
Thu Jul 25 21:12:13 PDT 2013
On 7/25/2013 8:39 PM, H. S. Teoh wrote:
> How would a D program recover from stack overflow?
The program doesn't. In a safe system, there'd be a backup in case the main
program failed (which it inevitably will).
> Isn't it possible to allocate the stack at the far end of the program's
> address space, so that it can grow as needed?
That works until you have more than one thread.
More information about the Digitalmars-d
mailing list