r/ProgrammingLanguages • u/Athas Futhark • Jan 20 '26
Why not tail recursion?
https://futhark-lang.org/blog/2026-01-20-why-not-tail-recursion.html
62
Upvotes
r/ProgrammingLanguages • u/Athas Futhark • Jan 20 '26
View all comments
Show parent comment
1
u/divad1196 Jan 21 '26
CDECL ABI only use the stack to pass parameters. And with that you know as much as I do about CDECL. There are others like this, some probably more obscure.
The ABI only change how parameters are passed. A function call is always a jump to another memory address as you said. The labels exist up to the assembly level but are replaced at linking step to be precise.