In your nim sample t1 and t2 are global (bss section, I believe), not stack. Make them local to proc and they become stack.
- 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
