4 ms·
If you have the runtime infrastructure to grow stacks, then you can use that with POSIX threads too.
by pcwalton 7y ago
If you have the runtime infrastructure to grow stacks, then you can use that with POSIX threads too.
- masklinn 7y agoIs there any systems where the C stack is growable? Do stack frames get prefixed with an explicit request for some amount of stack memory, leading to the stack possibly being moved before the funcall happens?
- pcwalton 7y agoWe used to have growable C stacks in Rust using that technique. They worked (though were too slow for us). It could have been fixed by using stack copying like Go does.