Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Go Programs need runtime support

Tags:

go

goinstall

It's said that Golang is the compiled language, but what does it mean by compiled? If golang application is compiled to machine code, why can't I just distribute the binary (of course on corresponding arch and platform) instead of go install stuff?

like image 614
qweruiop Avatar asked Apr 15 '14 00:04

qweruiop


Video Answer


1 Answers

Once you compile a binary you can distribute it onto machines with the same architecture. go install, go run, etc. is just necessary for compilation.

like image 143
dethtron5000 Avatar answered Oct 08 '22 17:10

dethtron5000