|
|
|
|
|
by teeray
1543 days ago
|
|
I’d imagine there’s some challenging judgement calls that such a tool would have to make. Like, in Go, you can reorder the members of a struct definition. In many cases this is just diff noise to reviewers. HOWEVER, it does impact the layout of the struct in memory, so it can be semantically meaningful in performance work. |
|
e.g. see https://groups.google.com/g/golang-nuts/c/1BlZDNBLiAM
Having said that: if a Go compiler for a given architecture decided to change its layout algorithm, I'm pretty sure it would earn a changelog entry.