logoalt Hacker News

jcranmer01/21/20252 repliesview on HN

There are things like compiling a tail call as JMP func_addr.


Replies

frogsRnice01/21/2025

Would you not have to use a jump instead of call for it to be a tail call at all- ie otherwise a new frame is created on each call

show 1 reply
russdill01/21/2025

Yes, I think the most common is a tail call. There also of course can be several ret's from a single function.