3 ms·
Sure, but that's when we think in similar terms to what memory layout C code represents as opposed to what actually gets emitted by gcc -O3. I definitely appre
by lhorie 6y ago
Sure, but that's when we think in similar terms to what memory layout C code represents as opposed to what actually gets emitted by gcc -O3.
I definitely appreciate being able to mentally visualize what the memory layout of go code looks like, though I'm not sure that's actually an explicit goal of the language.
- kyrra 6y agoMemory layout is something people definitely consider and go. See posts like: https://dave.cheney.net/2015/10/09/padding-is-hard https://dave.cheney.net/2015/10/09/padding-is-hard