Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Kotlin also has compile time guaranteed tailcall with the tailrec function qualifier.


tailrec only handles "tail" recursion, i.e. tail calls to itself. This is far weaker than general tail "call" optimization required by the technique in the article.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: