A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3899
by Lawrence Crowl
Stack allocation is generally faster than heap allocation. C and C++ have exploited this speed by allocating statically-sized local variables on the execution stack. With the exception of the rather limited
allocafacility, all non-statically-sized objects could only be allocated on the heap.
That is, programmers had the choice between fast-but-limited and general-but-slow.
This paper explores some of the issues when refining allocation choices.