4 ms·
Rust has had a reserved keyword for proper TCO for a very long time but at the moment it looks very unlikely it will ever be implemented for more than one reaso
by weinzierl 2y ago
Rust has had a reserved keyword for proper TCO for a very long time but at the moment it looks very unlikely it will ever be implemented for more than one reason.
https://web.archive.org/web/20230605150233/https://mail.mozilla.org/pipermail/rust-dev/2013-April/003557.html https://web.archive.org/web/20230605150233/https://mail.mozi...
(It's kinda sad that even with a relatively short history like Rust we need to resort to archive.org for this kind of documentation)
- odyssey7 2y agoAh, that’s a shame. So neither Python, JavaScript, nor Rust have fully adopted proper TCO across their communities. Whichever one gets there, I think that would be a strong point in favor of it being taught in university instruction, since recursion is one of the big concepts students explore.