logoalt Hacker News

senfiajlast Sunday at 1:24 PM2 repliesview on HN

Maybe because with tail call optimization you wouldn't have a proper stack trace?


Replies

ggggffggggglast Sunday at 2:55 PM

I never understood this complaint. You won’t get a “loop trace” when you convert your tail calls into an iterative algorithm. And your code will be less readable to boot.

show 2 replies
mikehall314last Sunday at 2:13 PM

Supposedly, although the team at Apple were able to implement it. I think they had some oddly named technology like Chicken which created a shadow stack trace? Half remembered.

show 1 reply