0 votes
in Rust by
Does Rust guarantee tail-call optimization?

1 Answer

0 votes
by
No, Rust doesn’t guarantee TOC (Tail Call Optimization). Not even the standard library is required to compile the rust code. In these cases, the run time is similar to that of C programming language.
...