Comment Comment by kevindamm Which languages do support TCO at this point? From my recollection we have* Scheme* Haskell* Elixir* Erlang* OCaml* F#* Scala* (not Clojure)* the JVM could remove tail-recursive calls, but IIRC this still hasn't been added for security reasons* Racket* Zig* Lua* Common Lisp, under certain compilers/interpreters* Rust? (depends)* Swift? (sometimes) parent kevindamm 1 year ago
* Scheme
* Haskell
* Elixir
* Erlang
* OCaml
* F#
* Scala
* (not Clojure)
* the JVM could remove tail-recursive calls, but IIRC this still hasn't been added for security reasons
* Racket
* Zig
* Lua
* Common Lisp, under certain compilers/interpreters
* Rust? (depends)
* Swift? (sometimes)