On Fri, Jul 16, 2021 at 8:28 AM
tapi...@gmail.com <
tapi...@gmail.com> wrote:
>
> On Friday, July 16, 2021 at 9:48:45 AM UTC-4 Michael Pratt wrote:
>>
>> Go does not adjust the stack in the middle of function bodies, only on entry. i.e., every function has a fixed frame size. Since func f might need 10MB of stack space, every call will reserve the full space. (A similar C program built with most compilers will also cause a stack overflow).
>
>
> Does it mean the addresses of values allocated on stack have already been determined at compile time?
The addresses will of course depend on the stack pointer. What is