See: https://gobyexample.com/recursion
Some languages like Erlang have TCO. Is it the case with Go as well?
Specifically, I mean the main (popular for now) compiler available here: http://golang.org/doc/install
Tail call optimization
There are no such plans for gc (6g, 5g, 8g).
I think it's very unlikely that the language would require it.
Russ
In the unlikely event that this changes, it will be documented in the Go Release History.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With