pith. sign in

arxiv: 1505.00017 · v1 · pith:G5FGNLB7new · submitted 2015-04-30 · 💻 cs.PL

Comparative Analysis of Classic Garbage-Collection Algorithms for a Lisp-like Language

classification 💻 cs.PL
keywords algorithmalgorithmscheneylisp-likeeffectivenessgarbagegarbage-collectionanalysis
0
0 comments X
read the original abstract

In this paper, we demonstrate the effectiveness of Cheney's Copy Algorithm for a Lisp-like system and experimentally show the infeasability of developing an optimal garbage collector for general use. We summarize and compare several garbage-collection algorithms including Cheney's Algorithm, the canonical Mark and Sweep Algorithm, and Knuth's Classical Lisp 2 Algorithm. We implement and analyze these three algorithms in the context of a custom MicroLisp environment. We conclude and present the core considerations behind the development of a garbage collector---specifically for Lisp---and make an attempt to investigate these issues in depth. We also discuss experimental results that imply the effectiveness of Cheney's algorithm over Mark-Sweep for Lisp-like languages.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.