Any good resource to understand the issues with recursion in Julia?

This is nonsense. Recursion is perfectly fine in Julia. See Recursion in Julia — bad idea? - #5 by stevengj

Julia doesn’t do TCO, but any algorithm where TCO is applicable is uninteresting for recursion in an imperative language — tail-call recursion is trivially written as a loop. Interesting applications of recursion tend to not be tail calls — for example, quicksort is not tail-recursive.

TCO has been discussed ad nauseam. See

11 Likes