On 6/26/2014 2:19 AM, bearophile wrote:
One kind of problem left is to avoid stack overflows.

In general, stack overflow checking at compile time is the halting problem. It needs a runtime check.

Stack overflows are not safety problems when a guard page is used past the end of the stack. Then, overflow checking is done in hardware. Guard pages aren't currently used for fibers, so overflows are a real danger there.

In 64 bit code, however, one should be able to use guard pages for fibers.

Reply via email to