Go for Rubyists
sitepoint.com
sitepoint.com
So, I thought, hey why not create a very simple binary in go. I would simply download the compiler, code 50 lines using a couple of libs, compile and deploy. Boom. done.
Well, as it turns out, my dev environment is Mac, and my production is running on the cloud, in an Ubuntu environment. So i realized that i would need to compile my code for every hardware target i plan to deploy my code on. That means, download the compiler from source, and use cross-platform compilation options. I know, it kind of goes with having a single binary.
It probably would have taken me 2 hours max to figure things out, but going back to hardware consideration really felt a bit weird and kind of tamed my enthusiasm of the moment. So, i simply postponed that project, swearing to myself I would take the time to look into it some day.
After that you can compile a binary for any supported architecture without much work:
GOOS=linux GOARCH=arm go build file.go
That's precisely the thing i wanted to avoid in the first place.