Stack frames larger than 4K should be rejected, but what if I want more
IGotD-
nise at nise.com
Mon Jun 28 13:09:42 UTC 2021
On Monday, 28 June 2021 at 12:41:20 UTC, Steven Schveighoffer
wrote:
>
> Could this be fixed by not allowing *uninitialized* stack
> segments larger than 4k? Basically, if you can't create a stack
> which contains a contiguous 4k of uninitialized space, then you
> can't skip over the guard page.
>
> void-initialized data is pretty rare in D.
>
> -Steve
Why? When you decide not to initialize you also surpass the
safety benefits of initialized values.
More information about the Digitalmars-d
mailing list