Re:Things you can’t do in Rust: tail recursion
by steveklabnik on Friday December 01, 2017 @01:19PM
(#15825896)
To be clear about this, LLVM will sometimes do TCO. But Rust doesn't guarantee it. We have reserved a keyword to make this happen sometimes in the future, possibly.
Maybe the author wanted to say that Rust (currently) doesn't perform an optimization called tail call elimination that would make this program consume zero stack, which would make it hang instead of erroring out.
Some languages (like Scheme) are specified to optimize tail calls, so you can rely on this behaviour there.