On Fri, May 19, 2017 at 1:29 PM xjdrew <xj.d...@gmail.com> wrote: > uint64 should aligin in 8 bytes, why it aligns in 4 bytes in go1.8.1.linux-386?
https://en.wikipedia.org/wiki/Data_structure_alignment#Typical_alignment_of_C_structs_on_x86 > Could anyone tell me how I can get the same result with go playground? Why should the playground output the same results when the GOARCH and/or GOOS differs? -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.