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

That's still expected?


It's a recursive tail call. It should run forever, like the following Scheme code.

(define (foo) (foo))

(foo)


Ah, right, yes I get what you mean.

The main problem is still that Chrome and Firefox don't support tail call elimination. Babel (6to5) and Traceur do.


They don't. They support an optimization for self recursive calls but not general tail call elimination.




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

Search: