3 ms·
Go doesn't even have a language-level distinction between heap and stack, everything is on the heap from the language standpoint. However, values that don't esc
by Thorrez 5y ago
Go doesn't even have a language-level distinction between heap and stack, everything is on the heap from the language standpoint. However, values that don't escape and that aren't too big are put on the stack by the compiler.