why does the Go compiler produce big binary files?
For example after compiling following code, I get a 1.8 MB exec file
package main
import "fmt"
func main(){
fmt.Println("Hello World")
}
I tested the above code on both Ubuntu and Win7 and result is the same!
I also wrote a bigger program with +70 lines of code and the resulting binary file was surprisingly again 1.8 MB (actually there were a few bytes difference). I'm wondering what is dumped into the binary file by the Go compiler.