[Q] How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?
Torben Ægidius Mogensen
torbenm at diku.dk
Tue Aug 17 04:17:58 EDT 2010
Standish P <stndshp at gmail.com> writes:
> [Q] How far can stack [LIFO] solve do automatic garbage collection and
> prevent memory leak ?
>
> Because a stack has push and pop, it is able to release and allocate
> memory. We envisage an exogenous stack which has malloc() associated
> with a push and free() associated with a pop.
See
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.23.5498
http://portal.acm.org/citation.cfm?doid=174675.177855
http://www.springerlink.com/content/m2074884n6gt612h/
Torben
More information about the Python-list
mailing list