Hacker News new | ask | show | jobs
by zelphirkalt 1468 days ago
Properly coded, there is no reason to assume, that it would not work for an arbitrary depth. Considering, that this is on a website, and that it is running JS, which in most implementations does not implement tail call elimination, coding it properly probably involves externalizing the stack.
1 comments

The browser is just an iframe, so tail call optimization isn’t relevant.

https://github.com/DustinBrett/daedalOS/blob/b1681546a2ce990...