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.

Reply via email to