4 ms·
There is absolutely no requirement from the hardware that the stack be any particular size
by seventh-chord 7y ago
There is absolutely no requirement from the hardware that the stack be any particular size
- DaiPlusPlus 7y agoOn the Windows desktop, the default stack size is 1MB. In IIS-hosted applications the default stack size is reduced to 250KB due to the popularity of the now-outdated programming trope of "one thread per request (per-connection)". On x86 Linux the default stack size is 2MB - which seems generous.
- cm2187 7y agoI am not thinking requirement by rather performance wise.
- kragen 7y agoIf you start allocating multi-kilobyte objects in your stack frames, they are not going to fit into L1.