News for hackers. Stuff that matters.
Re:Tail Call Recursion in Java with ASM (2023) by knome on Sunday March 30, 2025 @03:32PM (#43526835)
Sounds like a manual form of clojures recur function.

https://clojuredocs.org/clojure.core/recur

Re:Tail Call Recursion in Java with ASM (2023) by 1932812267 on Sunday March 30, 2025 @03:49PM (#43526996)
Clojure's loop/recur is specifically tail recursion like scala's tailrec or the optimization described in the blogpost. It doesn't use trampolines to enable tail calls that aren't tail recursion.