Re:Understanding thread stack sizes and how Alpine is different
by jlokier on Saturday June 26, 2021 @03:36PM
(#27645080)
I agree that using the stack instead of heap makes sense for cache reasons.
But in the contemporary world, the trend is increasingly to transform functions to "async" forms where much of the functions' local state including return address is stored in heap-allocated space instead.
But in the contemporary world, the trend is increasingly to transform functions to "async" forms where much of the functions' local state including return address is stored in heap-allocated space instead.