Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, clojure gets away with it thanks to the high performance of the available gc in the JVM. In the Common Lisp world the compiler puts quite some effort into avoiding heap allocation ("consing"); the language was designed with that in mind. Not sure where it's now, but not too long ago SBCL's gc wasn't its strong point.


SBCL's gc is historically overly optimized for throughput at the expense of everything else. It also predates common availability of parallel systems. There's a new GC that addresses those things.

That being said, for batch processing in single-threaded applications, the older SBCL gc is actually pretty good.


The newish SBCL parallel gc is fantastic and uses no additional memory during gc




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: