Re:Carp – A statically typed Lisp, without a GC, for real-ti...
by andi999 on Friday October 15, 2021 @02:38PM
(#28881370)
Not just for the allocator. I always thought a main point of a garbage collector was heap compactification (shuffling things around so there is more space), but maybe I am wrong.
Re:Carp – A statically typed Lisp, without a GC, for real-ti...
by cmrdporcupine on Saturday October 16, 2021 @09:17AM
(#28887671)
Nah, only copying / generational collectors do heap compactification. A simple Mark&Sweep collector doesn't, for example. Nor does reference counting. Both of which are used by many Lisp or Lisp-like languages.
Nothing can substitute for a really good allocator.
Re:Carp – A statically typed Lisp, without a GC, for real-ti...
by andi999 on Saturday October 16, 2021 @10:59AM
(#28888305)
So what happens to long running lisp programs? Running out of memory due to fragmentation eventually?
(Quite often the answer is "it isn't")