DEV Community

Discussion on: Golang Writing memory efficient and CPU optimized Go Structs

Collapse
 
deadlock profile image
Satyajiijt Roy

Because, the current version of the standard Go compiler, the alignment guarantees of other types may be either 4 or 8, depends on different build target architectures. This is also true for gccgo.