3 ms·
When reading the language section [0] I was surprised to see that COBOL had no heap allocation until 2002. Searching around, the only comments I could find amou
by anitil 8y ago
When reading the language section [0] I was surprised to see that COBOL had no heap allocation until 2002. Searching around, the only comments I could find amounted to "We just didn't need it.". Can anyone fill me in?
[0]: https://www.memorymanagement.org/mmref/lang.html https://www.memorymanagement.org/mmref/lang.html
- vajrabum 8y agoHistorically, there weren't recursive procedures in Cobol and no concept of new(). Instead all the data was statically initialized at application start. The compiler did the storage allocation.
- adrianratnapala 8y agoWhat needs filling in? It didn't have a heap. It's not like you really need one.