On Tuesday, 28 May 2013 at 08:02:46 UTC, Walter Bright wrote:
On 5/28/2013 12:06 AM, Don wrote:
On Sunday, 26 May 2013 at 18:43:30 UTC, Walter Bright wrote:
Fibers should be implemented by mapping a 4K page with no
access rights at the
end of each stack.
We do that in our code. Fibers are virtually unusable without
it, it is
incredibly easy to get a stack overflow, and they are horrible
to debug.
Dang, that needs to get folded into D2!
I'm 100% sure we already do this for Windows, as I've had my
share of fun with the Fiber implementation there. Might not be
the case for the various Posixen, though.
David