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

"GCC actually does do TCO in some cases (I'm using 4.5.3, and tail-call elimination occurs with -O2 and higher)."

Only sibling call optimization, as cdecl doesn't allow TCO in the general case. Rust will do this too.



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

Search: