DIP1000: Scoped Pointers

Walter Bright via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Aug 10 18:57:59 PDT 2016


On 8/10/2016 4:56 PM, Nicholas Wilson wrote:
> How will the infinite lifetime of ArrayLiteral and ArrayLiteral[constant]
> interact with LDC's GC to stack promotion pass?

I don't know about how that works in LDC, but general such a promotion can only 
be done if the compiler can prove there are no escaping pointers to the data.


More information about the Digitalmars-d-announce mailing list