Note that in C you have a main function, so variables defined inside main are allocated on the stack. In your Nim example, you do not use a main proc, but use global code with global variables. The global variables are not allocated on the stack, but in BSS section.
- Stack/heap addresses, confusion dee0xeed
- Stack/heap addresses, confusion Araq
- Stack/heap addresses, confusion dee0xeed
- Stack/heap addresses, confusion Stefan_Salewski
- Stack/heap addresses, confusion yglukhov
