title: How to reduce compiled file size?
body: <p>Lets compare c and go:
  Hello_world.c :</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int main(){
      printf("Hello world!");
  }
  </code></pre>
  
  <p>Hello_world.go:</p>
  
  <pre><code>package main
  import "fmt"
  func main(){
      fmt.Printf("Hello world!")
  }
  </code></pre>
  
  <p>Compile both:</p>
  
  <pre><code>$gcc Hello_world.c -o Hello_c 
  $8g Hello_world.go -o Hello_go.8
  $8l Hello_go.8 -o Hello_go
  </code></pre>
  
  <p>and ... what is it?</p>
  
  <pre><code>$ls -ls
  ... 5,4K 2010-10-05 11:09 Hello_c
  ... 991K 2010-10-05 11:17 Hello_go
  </code></pre>
  
  <p>About 1Mb Hello world. Are you kidding me?
  What I do wrong?</p>
  
  <p>(strip Hello_go   -> 893K only)</p>