News for hackers. Stuff that matters.
Re:A Personal Lisp Crisis (2012) by hga on Wednesday September 11, 2013 @11:22AM (#6367739)
Strong caveat about LLVM: it's not a good target for precise garbage collection, at a certain point the distinction between pointers and integers is lost. Fixing that would require diving into and writing a lot of C++, and I'd rather do that sort of work with a safe pointer language or drop all pretenses for the lowest level stuff.
Re:A Personal Lisp Crisis (2012) by breckinloggins on Wednesday September 11, 2013 @11:46AM (#6367881)
I think a language like Clojure would have to go the ARC (Automatic Reference Counting, not the language) route.

Whether that's even possible is another matter, but I agree that the LLVM memory management problem is an interesting one.

Another question is whether there should exist a "sys lisp" that can form the lisp core of higher level lisps but that itself is not a garbage collected lisp. I don't immediately see a way forward on that one, but it's an interesting thought.

Re:A Personal Lisp Crisis (2012) by hga on Wednesday September 11, 2013 @11:50AM (#6367906)
For your last question you could start by looking at PreScheme: http://en.wikipedia.org/wiki/PreScheme
Re:A Personal Lisp Crisis (2012) by breckinloggins on Wednesday September 11, 2013 @01:11PM (#6368422)
Thank you! This is a big missing piece for some of my research.
Re:A Personal Lisp Crisis (2012) by PuercoPop on Wednesday September 11, 2013 @01:39PM (#6368612)
>> Another question is whether there should exist a "sys lisp" that can form the lisp core of higher level lisps but that itself is not a garbage collected lisp...

You may be interested in Henry Baker has a paper where he shows a VM where the semantics prevent garbage from being created http://home.pipeline.com/~hbaker1/LinearLisp.html