News for hackers. Stuff that matters.
Re:Show HN: Nova JavaScript Engine by PeterWhittaker on Monday November 18, 2024 @08:50AM (#42172266)
Do you plan on supporting TCO? I was disappointed to learn a few years ago that V8 wouldn't, on the grounds that, IIRC, it would confuse developers.

True tail call recursion and lazy evaluation would enable truly functional JS.

Re:Show HN: Nova JavaScript Engine by aapoalas on Monday November 18, 2024 @09:14AM (#42172436)
It is the plans, since it is in the ECMAScript specification... It might actually be fairly easy now that I think about it?
Re:Show HN: Nova JavaScript Engine by eliassjogreen on Monday November 18, 2024 @11:45AM (#42174151)
If I am not mistaken there are a few `TODO`s sprinkled all over code relating to function calls about implementing TCO. Shouldn't be too hard from what I can remember when I last looked over those parts of the code.