News for hackers. Stuff that matters.
Re:Creating a Common Lisp implementation, part 1 [video] by Joker_vD on Wednesday August 26, 2020 @06:28AM (#24281101)
Not unless it's the loop is made out several function calls. For example:

    def even(x):
        return x == 0 ? True : odd(x - 1)

    def odd(x):
        return x == 0 ? False : even(x - 1)

    print(even(17))
Properly implemented TCO means that the call to 'even(17)' should use only one stack frame.
Re:Creating a Common Lisp implementation, part 1 [video] by phoe-krk on Wednesday August 26, 2020 @06:57AM (#24281253)
> Properly implemented TCO

Such is the case e.g. in Erlang/BEAM.