Hacker News
new
past
comments
ask
show
jobs
points
by
uecker
16 hours ago
|
comments
by
fluoridation
16 hours ago
|
[-]
If it doesn't control both then TCO is impossible, because the stack will grow with each recursive step, as it's just performing a normal call.
reply
by
uecker
5 hours ago
|
parent
|
next
[-]
Have your mind blown:
https://godbolt.org/z/xnn3PPxvW
reply
by
fluoridation
4 hours ago
|
parent
|
[-]
Extremely specific example is uncompelling.
reply
by
uecker
3 hours ago
|
parent
|
[-]
It is a simple counterexample to your incorrect statement.
reply
by
layer8
11 hours ago
|
parent
|
prev
|
[-]
It's possible for calling conventions where the callee is responsible for stack cleanup before return.
reply