Dnia 2017-05-19, o godz. 04:28:53 xjdrew <xj.d...@gmail.com> napisaĆ(a):
> uint64 should aligin in 8 bytes, why it aligns in 4 bytes in > go1.8.1.linux-386? uint64 member IS 8 bytes wide. It is aligned to the machine word boundary which is 4B (32/8) for 32bit architecture and 8B for 64b one (64/8). > Could anyone tell me how I can get the same result with go playground? You can not. Go playground uses 64b platform. -- Wojciech S. Czarnecki ^oo^ OHIR-RIPE -- 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.