libc++: First cut at <dynarray>

Hal Finkel hfinkel at
Wed Sep 18 16:18:39 PDT 2013

----- Original Message -----
> Hello,
> > Note that I didn't say "intractable", just "not trivial". I think
> > that's the case.
> Most likely everybody here knows this already, but since nobody
> mentioned it yet: Deciding whether
> a variable must be allocated on the heap or can be allocated on the
> stack is a problem that
> occurs quite often in VM-based languages (e.g. Java). The term to
> google for is Escape Analysis:
> <>.

That's a good point. We don't need to necessarily see the corresponding decallocation call if we know that the pointer value does not escape.


> Jonathan
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at

Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory

More information about the cfe-commits mailing list