Go Your Own Way (Part One: The Stack)
Steven Schveighoffer via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Fri Jul 7 12:36:37 PDT 2017
On 7/7/17 8:59 AM, Mike Parker wrote:
> This is my latest post in the GC series. I had promised the next one
> would look at non-GC allocation strategies, but as it got longer and
> longer I decided to break it up into two parts. This part covers stack
> allocations. The next one will deal with non-GC heap allocations.
>
> If my luck holds out, we're about to see a flurry of guest posts and
> collaborations over the next few weeks. If that pans out, I expect to
> publish the part two in mid-late August.
>
> The blog:
> https://dlang.org/blog/2017/07/07/go-your-own-way-part-one-the-stack/
>
> Reddit:
> https://www.reddit.com/r/programming/comments/6ltfwx/go_your_own_way_part_one_of_two_on_nongc/
>
I thought alloca was an intrinsic? Which means that the compiler
generates inline code to add to the stack.
I would think it has to do this, since actually calling a function would
generate a new stack frame.
-Steve
More information about the Digitalmars-d-announce
mailing list