Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Garbage collector in Common lisp?

Is SBCL or CMUCL garbage collector available in Lisp implementation?

like image 917
user616370 Avatar asked Oct 26 '25 05:10

user616370


2 Answers

SBCL exposes some of its GC functionality: http://john.freml.in/sbcl-optimise-gc

like image 142
SK-logic Avatar answered Oct 29 '25 01:10

SK-logic


Both of them provide garbage collection.

See this for CMUCL and this for SBCL.

Quote from Wikipedia:

Garbage collection was invented by John McCarthy around 1959 to solve problems in Lisp.

Every Common Lisp implementation, must have garbage collection defined, since any standard implementation must comply to Common Lisp ANSI standard.

like image 36
darioo Avatar answered Oct 29 '25 02:10

darioo