dynamically allocating on the stack
Mike Franklin
slavo5150 at yahoo.com
Sun Apr 22 05:29:30 UTC 2018
On Sunday, 22 April 2018 at 00:41:34 UTC, Nicholas Wilson wrote:
> You're not using the C library version of it, the compiler does
> the stack space reservation inline for you. There is no way
> around this.
I'm not convinced. I did some no-runtime testing and eventually
found the implementation in druntime here:
https://github.com/dlang/druntime/blob/master/src/rt/alloca.d
Mike
More information about the Digitalmars-d-learn
mailing list