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

> Tail-calls is fundamentally something that the compiler _cannot_ solve. Trust me, if there was a way we would have avoided ourselves all this work.

I have been out of the loop regarding compilers development for a long time but what prevents you from converting your program to CPS and using a trampoline like some LISP still do?



A trampoline is a workaround that wastes memory and time. The idea is to avoid that so that you can use function calls efficiently.




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

Search: