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

Believe it or not, the hardest part right now is Javascript's lack of tail recursion. The browser extension I rely on for moderation (written in Arc and transpiled to JS) is stack-overflowing on this thread because there are so many comments.

Not sure whether it's more efficient to fix these errors first, or just power through moderating the thread manually, but boy does the latter suck.



The hardest part of moderating a big, high-traffic, heated political thread being JavaScript's lack of tail recursion is the most HN thing I've ever seen.


> Javascript's lack of tail recursion

Even in Safari? [1]

[1]: "As of July 22, 2023 Safari is the only browser that supports tail call optimization" https://stackoverflow.com/a/37224563


The software I'm talking about is, alas, a Chrome extension.


I have a little extension I wrote for myself to improve some things, and that's also having difficulty. So yeah, not just you.


Hacking a Lisp compiler is a perfectly reasonable sidequest for any task!


> The browser extension I rely on for moderation (written in Arc and transpiled to JS) is stack-overflowing

Throw more hardware at it! Get a maxed-out Macbook same day delivered.

Server(s?) seems to be holding up well given what must be record activity levels.




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

Search: