digitalmars.D.learn - Stack overflow checking?
- bearophile (7/7) May 01 2012 I'd like to open an enhancement request for something like this
- Marco Leise (8/17) Feb 18 2013 I'm not opposed. It is easily possible to segfault an @safe
I'd like to open an enhancement request for something like this as a feature for all D compilers, what do you think? (Generally Ada has something to teach to D design): http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gnat_ugn_unw/Stack-Overflow-Checking.html Thank you, bye, bearophile
May 01 2012
Am Wed, 02 May 2012 02:45:32 +0200 schrieb "bearophile" <bearophileHUGS lycos.com>:I'd like to open an enhancement request for something like this as a feature for all D compilers, what do you think? (Generally Ada has something to teach to D design): http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gnat_ugn_unw/Stack-Overflow-Checking.html Thank you, bye, bearophileI'm not opposed. It is easily possible to segfault an safe D program with a stack overflow. E.g. not cautious when writing the exit condition in a recursive function. If this can be a proper StackOverflowException somehow, it would be nice. -- Marco
Feb 18 2013