From: | mac <acolvin@efunct.com> |
Newsgroups: | comp.compilers |
Date: | Tue, 6 May 2014 18:02:16 +0000 (UTC) |
Organization: | A noiseless patient Spider |
References: | 14-05-009 14-05-012 |
Keywords: | GC, history |
Posted-Date: | 06 May 2014 23:32:48 EDT |
By the 1970s (basic 6th edition) at Dartmouth, strings were garbage
collected, much ike XPL mentioned here. A form of subroutine supported
recursion with local variables, so the string pool was not static. instead
all string variables were marked ( possibly kept on a linked list). To GC,
the runtime marked and compacted all referenced string text.
String text was simple contiguous storage with no embedded pointers, so
this was straightforward - unlike some languages, where strings were linked
lists of fragments.
The runtime system borrowed the teletype (stdout) buffer for temporary
storage during GC. The same trick was used for Dartmouth XPL.
--
mac the naC/f
Return to the
comp.compilers page.
Search the
comp.compilers archives again.