Hacker News new | ask | show | jobs
by richdougherty 1466 days ago
It needs to be at the end of the calling function so you can throw the calling function's stack frame away, since it's still in use. Getting rid of the calling stack frame is what proper tail calls is about.
1 comments

I was suggesting something like bash `exec`