News for hackers. Stuff that matters.
Re:Thinking About Recursion by crimsonalucard on Wednesday March 08, 2017 @06:25PM (#13824988)
I'm sure it can be done. The compiler just needs to manually create a stack as a variable rather than use the call stack.
Re:Thinking About Recursion by colorint on Wednesday March 08, 2017 @06:47PM (#13825131)
You also need the iterative structure to support continuations. Of course, if you do all that---you've just reimplemented function calls.