Stack frames larger than 4K should be rejected, but what if I want more
Walter Bright
newshound2 at digitalmars.com
Sun Jun 27 23:12:44 UTC 2021
On 6/27/2021 1:17 PM, Dennis wrote:
> Also, instead of straight up rejecting large stack frames in @safe code, the
> compiler could also start such a function with probing the guard page by making
> writes at intervals of 4K.
dmd already does that. But very few programmers are aware of this, and it's
pretty inefficient.
More information about the Digitalmars-d
mailing list