Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Having done this for a dozen of experiments/toys I fully agree with most of the post, would be nice if the the addition of must_tail attribute could be reliable across the big 3 compilers, but it's not something that can be relied on (luckily Clang seems to be fairly reliable on Windows these days).

This may be a stupid question, but if the function must tail, that's just a jump, no? Why not use goto?



Works for self recursion, but not interprocedural (Probably why Wingolog mentions the need to keep track in Scheme code).


Great point, thank you, I knew I was forgetting about something!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: