Re:Ask HN: I want to start learning Lisp. Where do I begin?
by zelphirkalt on Friday December 18, 2020 @08:03PM
(#25473983)
I know what trampolining does, thank you.
That's unfortunate, that it is an additional function call, which needs to be explicitly written out. I'd guess such is necessary ultimately, because of limitations of the JVM and its limitations regarding recursion.
The trampoline pattern is an old trick that can also be imlemented in other languages to avoid stack consumption in mutually recursive calls.