News for hackers. Stuff that matters.
Re:Stack Free Recursion (1995) by icarot on Monday November 10, 2014 @09:38AM (#8583692)
Definitely agree on the "oversold".

I notice you said "half the problem" at the end of your third paragraph there. I'm assuming the other half is that it seems foolish to save the return address for a recurse. Only the first call should save a return. I think one problem with compiler writers is that oddly they don't separate how to treat a procedure and its recursions as different cases. They just fit every procedure into the same bucket-list algorithm of 1. allocate frames 2. allocate return address.

There are no comments on this comment yet.