4 ms·
> 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 be
by WastingMyTime89 4y ago
> 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?
- antonvs 4y agoA trampoline is a workaround that wastes memory and time. The idea is to avoid that so that you can use function calls efficiently.