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

Compilers can easily lower tail recursion into loops, but not general tail calls between arbitrary (possibly unknown, indirect) functions.

The best they can do are trampolines, which come with a high performance cost.



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

Search: