run-time stack-based allocation

David Piepgrass qwertie256 at gmail.com
Mon Jul 9 00:30:55 PDT 2012


On Thursday, 10 May 2012 at 03:03:22 UTC, Andrei Alexandrescu 
wrote:
> On 5/9/12 3:17 PM, Tove wrote:
>> On Tuesday, 8 May 2012 at 07:03:35 UTC, Gor Gyolchanyan wrote:
>>> Cool! Thanks! I'l definitely check it out! I hope it's DDOCed 
>>> :-D
>>>
>>
>> I just invented an absolutely wicked way of using alloca() in 
>> the parent
>> context...
>>
>>     auto Create(void* buf=alloca(frame_size))
>
> Yah, me too. 
> http://forum.dlang.org/thread/i1gnlo$18g0$1@digitalmars.com#post-i1gql2:241k6o:241:40digitalmars.com 
> I found it by googling for my name and "dark" and "devious" :o).

That is so awesome that it can't possibly be legal by the spec!

This "runtime struct" sounds really cool too. Pinch me, I must be 
dreaming :D


More information about the Digitalmars-d mailing list