Technical Report Number
Modern programming languages, such as Ada (Ichbiah 80), permit the definition of functions that return values whose size can not be determined until the function returns. This paper discusses five implementation techniques that can be used to implement this capability. Comparisons of the techniques are provided and guidelines for selecting a particular technique for a compiler are given.
Dartmouth Digital Commons Citation
Sherman, Mark; Hisgen, Andy; Rosenberg, Jonathan; and Lamb, David Alex, "Functions Returning Values of Dynamic Size" (1986). Computer Science Technical Report PCS-TR86-125. https://digitalcommons.dartmouth.edu/cs_tr/16