News for hackers. Stuff that matters.
Re:Re: 100k Threads? (2002) by ori_b on Saturday September 23, 2023 @09:14AM (#37622954)
Roughly what you're discussing has been implemented in gcc (behind a flag) for a long time: https://gcc.gnu.org/wiki/SplitStacks
Re:Re: 100k Threads? (2002) by im3w1l on Saturday September 23, 2023 @12:20PM (#37624629)
Interesting! It does seem to be missing the part about tracking stack usage at compile time though, unless I'm missing something. The more I think about it, the more that seems like the key part, and dynamically growing the stack being more of a fallback thing.