Should the tail recursion expression be called `become`, or something else?

Another datapoint in favour of supporting become that lowers to tail calls is that Python recently added an experimental interpreter based on tail calls (with clang). They are apparently seeing speedups anywhere in the range of 10% (mean) to 40% (max). That is a pretty big leap.

If such speedups can be achieved with this technique it seems highly desirable to support this in Rust too.

3 Likes

I strongly disagree. Rust is a systems language, tailored for use cases where the tradeoffs of various algorithms matter. The standard library collections reflect this.

5 Likes