2 ms·
No. Automatic tail call elimination can't be implemented without breaking JS semantics. Manual tail calls can perfectly well be implemented without breaking a
by colanderman 13y ago
No. Automatic tail call elimination can't be implemented without breaking JS semantics.
Manual tail calls can perfectly well be implemented without breaking anything.
- chongli 13y agoYeah, just add goto!
- colanderman 13y agoYes, add goto. If JS is going to be the "assembly language of the web", it needs a general branch construct or it will suck.
- yoklov 13y agoOf course! The parent mentioned JS getting them however, which is, as I mentioned, impossible.
- deleted 13y ago[deleted]