Rendered at 05:33:11 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
juancn 4 hours ago [-]
It can be done mechanically, it's essentially what a compiler does.
But yeah, it can be a useful technique, specially when there's tail recursion and the explicit stack just vanishes and the recursion turns into a plain old loop which the hardware just loves.
But yeah, it can be a useful technique, specially when there's tail recursion and the explicit stack just vanishes and the recursion turns into a plain old loop which the hardware just loves.