3 ms·
> Go outputs less instructions, but has to maintain its segmented stacks I think they dropped segmented stacks in 2014: https://en.wikipedia.org/wiki/Go_(progr
by abainbridge 6y ago
> Go outputs less instructions, but has to maintain its segmented stacks
I think they dropped segmented stacks in 2014:
https://en.wikipedia.org/wiki/Go_(programming_language)#Version_history https://en.wikipedia.org/wiki/Go_(programming_language)#Vers...
The stack can still grow, but contiguously. I'm not sure if there are any instructions required to monitor the stack size and grow if it needed.
- amscanne 6y ago> CMPQ JBE(label(morestack)) … ^^ It's still the preamble for most functions :)