News for hackers. Stuff that matters.
Re:One Major Difference Between Clojure and Common Lisp by dkersten on Sunday September 13, 2015 @06:44PM (#10213036)
TCO is broader than what recur does. Recur only optimises recursive tail-calls to the function you are in, TCO generally implies that any tail-calls (recursive or not) can be optimised (including mutually recursive calls, for which clojure made the trampoline function or just calling one function at the tail of another).

Personally, I like clojure's approach as IMHO recur makes intent clear, but recur is a subset of what TCO optimises in other languages.

There are no comments on this comment yet.