3 ms·
> 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
by masklinn 12y ago
> 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