Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fluoridation
35 days ago
|
parent
|
context
|
favorite
| on:
Tail-call optimization in C is relatively recent (...
It's still impossible in the general case, where not all arguments are passable by registers.
uecker
32 days ago
[–]
You are right that there are cases where it is not possible. But it also works when arguments are not passed in registers. The condition then is that there are less stack slots used than in the caller.
https://godbolt.org/z/M4Eqzh3YE
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: