Posts Tagged ‘Lisp’

On tail recursion

Thursday, May 28th, 2009

Like many, I was not very interested in tail recursion – it’s just a way of writing a loop in a more verbose way, right?  Luckily, Joe Marshall wrote a series of blog posts that made me reconsider my view – while self-calls might “only” be loops, mutual, never-ending tail-calls implement continuation-passing style, state machines etc.  Glad I got one more erroneous belief out of my system!

Public Service Announcement

Tuesday, February 5th, 2008

If you compile sbcl from source yourself, and you want to have threading enabled, then look at the top of the file base-target-features.lisp-expr and do what it says therein.

Thank you.