News for hackers. Stuff that matters.
Re:Understanding thread stack sizes and how Alpine is different by ynik on Saturday June 26, 2021 @12:31PM (#27643301)
It's a bit ridiculous to complicate recursive algorithms just because the stack sizes haven't been increased in the past 3 decades.

Nowadays we have at least 48bit virtual address space available; what's the harm in giving each thread a full GB of stack?

Re:Understanding thread stack sizes and how Alpine is different by lonjil on Saturday June 26, 2021 @03:26PM (#27644990)
If you need a bigger stack, you can get one. This stuff is merely the default.
Re:Understanding thread stack sizes and how Alpine is different by sys_64738 on Saturday June 26, 2021 @12:38PM (#27643378)
Generally recursion is not something you want in production code. It's cute for academia when studying algorithms but where there's an iterative alternative that should be used.