libc++: First cut at <dynarray>

Jonathan Sauer jonathan.sauer at gmx.de
Fri Sep 13 08:33:53 PDT 2013


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:
<http://en.wikipedia.org/wiki/Escape_analysis>.


Jonathan





More information about the cfe-commits mailing list