Chris's Wiki :: blog/programming/GoStackIsADetail Commentshttps://utcc.utoronto.ca/~cks/space/blog/programming/GoStackIsADetail?atomcommentsDWiki2021-09-01T09:50:23ZRecent comments in Chris's Wiki :: blog/programming/GoStackIsADetail.By Mark C on /blog/programming/GoStackIsADetailtag:CSpace:blog/programming/GoStackIsADetail:a037fa940114f26b2450d8b81609f70e087c6c04Mark C<div class="wikitext"><p>"Go (the language) doesn't really have a stack (you can search the specification to see this; there's no mention of one). Go implementations will usually have a stack, but it's an implementation detail and some things don't behave like you might expect. In particular, in Go, local variables in a function aren't necessarily allocated on the stack."</p>
<p>I believe that exactly the same can be said about C.</p>
</div>2021-09-01T09:50:23Z