4 ms·
It's also not true when ... you tell it how much you need. Windows lets you specify a stack size [1]. [1] https://docs.microsoft.com/en-us/windows/win32/api/pr
by taspeotis 4y ago
It's also not true when ... you tell it how much you need. Windows lets you specify a stack size [1].
[1] https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createthread https://docs.microsoft.com/en-us/windows/win32/api/processth...
- maeln 4y agoFun fact, you can declare a stack size at compile time (something like `cl ... -stack:0x5000000,0x5000000 ...`) which let you create insane stack size so that you can fit your all your software in the stack. Useful when you don't want to had an allocator when making tiny tiny executable files :D