Re:What's bad about Julia?
by tines on Monday July 26, 2021 @12:00PM
(#27961071)
There's no TCO in many languages, even proudly functional ones like Clojure, so that doesn't seem to be as make-or-break as you and I would have expected. (Clojure does have recur though, but it doesn't help for mutual recursion.)
[ Parent
| on HN ]
Clojure has no TCO so it can interop with Java. It is the last language I would bring up as evidence.
I don't think it matters why; the fact is that it's a popular "functional" language that doesn't support (full) TCO.
fwiw, scala has some limited TCO, and it also runs on the JVM
Kotlin has explicit tail-calls via tailrec:
https://kotlinlang.org/docs/functions.html#tail-recursive-fu...