by fauigerzigerk · 14y ago · 0 comments
>The main limitation is that you need to know the size of the return value.
The only way I see is to allocate (almost) the entire machine memory to the stack, create one giant array in that chunk of memory and then put all lists in that single array. That's tantamount to reimplementing malloc on the stack.