News for hackers. Stuff that matters.
Re:Faster JavaScript Calls by CyberRabbi on Monday February 15, 2021 @04:23PM (#26147630)
For general applications and as a matter of good practice, stack depth practically never gets deep enough to make a dent in 2GB.

If your stack is reaching a significant proportion of 2GB you are seriously doing something wrong and it’s likely other parts of your application will start breaking as well.

Re:Faster JavaScript Calls by hinkley on Tuesday February 16, 2021 @12:23PM (#26156264)
I think it's pretty clear that I'm saying "this has not been my experience."

It's not 'my stack'. It's all stacks. Each thread has a stack. They are all in your 1.2-2GB address space. If you're not using a Global Interpreter Lock'ed language, you could easily end up with hundreds of threads for production code. And the more you try to dedupe work, the more threads you are likely to end up with.