Get the latest tech news

Tail-call optimization in C is relatively recent (2025)


Posted Aug 21, 2025 22:11 UTC (Thu) by anton (subscriber, #25547) Parent article: Python, tail calls, and performance Actually tail calls in C have not been around forever. The C calling convention has been that the callee does not remove any stuff the caller has put on the stack.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of optimization

optimization

Related news:

News photo

Linux 7.2 Optimization Shows +5% IOPS For EXT4 & XFS After Moving Around Two Lines Of Code

News photo

Optimization of 32-bit Unsigned Division by Constants on 64-bit Targets

News photo

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon