Memory Allocation
One problem that may be hidden by a language's support for VLAs is that of the underlying memory allocation: in environments where there is a clear distinction between a heap and a stack, it may not be clear which, if any, of those will store the VLA.
For example, the GNU C Compiler allocates memory for VLAs on the stack. VLAs, like all objects in C, are limited to SIZE_MAX bytes.
Read more about this topic: Variable-length Array
Famous quotes containing the word memory:
“You are told a lot about your education, but some beautiful, sacred memory, preserved since childhood, is perhaps the best education of all. If a man carries many such memories into life with him, he is saved for the rest of his days. And even if only one good memory is left in our hearts, it may also be the instrument of our salvation one day.”
—Feodor Dostoyevsky (18211881)