Hacker News new | past | comments | ask | show | jobs | submit login

LLVM does do sibling call optimization, which allows for TCO in many common cases, including all cases of a function tail calling itself (but note that RAII makes the definition of tail position subtler than it may seem at first glance).



> (but note that RAII makes the definition of tail position subtler than it may seem at first glance)

Like http://www.nhplace.com/kent/PFAQ/unwind-protect-vs-continuat... this?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: