Re:Summary of Golang Generics Discussion
by masklinn on Tuesday December 16, 2014 @08:53AM
(#8757078)
> In my experience "bloated binaries" in the real world aren't as bad as one would think, since instruction cache problems only appear when your working set is huge, not when your total binary size is huge.
The "bloated binaries" part is especially odd given the state of the Go compiler's optimisations (or lack thereof):
$ cat >| test.go
package main
func main() {}
^C
$ go build test.go
$ wc -c test
467008 test
$ cat >| test.go
package main
import "fmt"
func main() { fmt.Println("Hello, World!"); }
^C
$ go build test.go
$ wc -c test
1806192 test
The "bloated binaries" part is especially odd given the state of the Go compiler's optimisations (or lack thereof):