{"id":249449,"date":"2015-02-02T08:34:03","date_gmt":"2015-02-02T04:34:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=249449"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=249449","title":{"rendered":"<span class=\"post_title\">\u041a\u0440\u043e\u0441\u0441-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0432 Go<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0441\u0442\u0430\u043b\u0430 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435\u0445 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e-\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442, \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e. \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u044f\u0437\u044b\u043a\u0438 \u0438 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0440\u0435\u0434\u044b \u0441\u0431\u043e\u0440\u043a\u0438 \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0430 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u2014 \u043e\u0431\u044f\u0437\u044b\u0432\u0430\u043b\u0438 \u0438\u043c\u0435\u0442\u044c \u0438\u043b\u0438 \u0434\u0435\u043f\u043b\u043e\u0438\u0442\u044c \u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430. \u0415\u0441\u0442\u044c \u043d\u0435\u043c\u0430\u043b\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u043f\u044b\u0442\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0447\u0443\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u043c, \u043d\u043e \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0442\u0438\u0432\u043d\u043e.<\/p>\n<p>  \u0412 Go \u043a\u0440\u043e\u0441\u0441-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0448\u043b\u0430 \u043d\u0430 \u0442\u043e\u0442 \u0443\u0440\u043e\u0432\u0435\u043d\u044c, \u043a\u043e\u0433\u0434\u0430 \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u0435\u043b\u043e \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 compile farms, \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 dev-\u0441\u0440\u0435\u0434, \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u0438\u043b\u0438 chroot\/docker-dev \u0440\u0435\u0448\u0435\u043d\u0438\u0439. \u0418 \u044d\u0442\u043e \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0439 game-changer, \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u0438 \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445<br \/>  \u041f\u043e\u0435\u0445\u0430\u043b\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/1dd\/0dc\/931\/1dd0dc9313c84154b96560aadf1ade50.jpg\"\/><\/p>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u041a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0432 Go \u0441\u043e\u0437\u043d\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u043e\u0442 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043b\u0438\u043d\u043a\u043e\u0432\u043a\u0438 \u2014 \u043f\u043e \u0440\u044f\u0434\u0443 \u043f\u0440\u0438\u0447\u0438\u043d, \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u0447\u0435\u043d\u044c \u0441\u0445\u043e\u0436\u0430 \u0441 \u043e\u0431\u044b\u0447\u043d\u044b\u043c \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0430 \u043f\u043e\u0447\u0442\u0438 \u043b\u044e\u0431\u043e\u0433\u043e \u0430\u0441\u043f\u0435\u043a\u0442\u0430 Go \u2014 \u00ab\u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 [\u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043b\u0438\u043d\u043a\u043e\u0432\u043a\u0438] \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u0435\u0451 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432 \u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u043d\u0430 \u043f\u0440\u0438\u0432\u043d\u043e\u0441\u0438\u0442 \u0432 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443\u00bb. \u0427\u0442\u043e \u0436, \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u043e\u0439 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f dynamic linking \u0431\u044b\u043b\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u2014 \u043f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u0434\u0438c\u043a\u043e\u0432\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438 \u043f\u0430\u043c\u044f\u0442\u044c \u2014 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0435\u0448\u0435\u0432\u044b, \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445, \u043d\u043e \u0438 \u0432 embedded-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445 (\u043a\u043e\u043f\u0442\u0435\u0440\u044b, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u043d\u0435\u0441\u0443\u0442 \u043d\u0430 \u0431\u043e\u0440\u0442\u0443 \u0443\u0436\u0435 \u043f\u043e 1-2 \u0413\u0431 RAM!). \u0412\u043e\u0431\u0449\u0435\u043c, \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0442\u044c \u043f\u043b\u044e\u0441\u044b \u0438 \u043c\u0438\u043d\u0443\u0441\u044b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043b\u0438\u043d\u043a\u043e\u0432\u043a\u0438 \u2014 \u044d\u0442\u043e \u043f\u043e\u0442\u044f\u043d\u0435\u0442 \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0441\u0442, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u043e\u043a\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u043c, \u043a\u0430\u043a \u0435\u0441\u0442\u044c \u2014 \u0432 Go \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0438\u043c\u0435\u0435\u043c \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a.<\/p>\n<p>  \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 Go 1.4.1 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c:  <\/p>\n<ul>\n<li><b>Linux 2.6<\/b><sup>1<\/sup> \u0438 \u0432\u044b\u0448\u0435 \u2014 amd64, 386, arm<\/li>\n<li><b>MacOS X 10.6<\/b> \u0438 \u0432\u044b\u0448\u0435 \u2014 amd64, 386<\/li>\n<li><b>Windows XP<\/b> \u0438 \u0432\u044b\u0448\u0435 \u2014 amd64, 386<\/li>\n<li><b>FreeBSD 8<\/b> \u0438 \u0432\u044b\u0448\u0435 \u2014 amd64, 386, arm<\/li>\n<li><b>NetBSD<\/b> \u2014 amd64, 386, arm<\/li>\n<li><b>OpenBSD<\/b> \u2014 amd64, 386<\/li>\n<li><b>DragonFly BSD<\/b> \u2014 amd64, 386<\/li>\n<li><b>Plan 9<\/b> \u2014 amd64, 386<\/li>\n<li><b>Google Native Client<\/b> \u2014 amd64p32, 386<\/li>\n<li><b>Android<\/b> \u2014 arm<\/li>\n<\/ul>\n<p>  <i><sup>1<\/sup> \u2014 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u044f\u0434\u0440\u0430 2.6.23 \u0438 \u0432\u044b\u0448\u0435, \u043d\u043e \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0438\u0445 \u044f\u0434\u0440\u0430\u0445 \u0432\u0435\u0442\u043a\u0438 2.6 \u2014 \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u043d\u0435\u043c\u0430\u043b\u043e \u043b\u044e\u0434\u0435\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 Go \u043d\u0430 RHEL5\/CentOS5 \u0441 2.6.18.<\/i><\/p>\n<p>  \u0412 Go 1.5 <a href=\"https:\/\/groups.google.com\/forum\/#!topic\/golang-nuts\/mmB2q8RqB-Y\">\u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f<\/a> \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 iOS.<br \/>  \u0415\u0449\u0435 \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 Windows \u0432 Go \u043d\u0435 \u0431\u044b\u043b\u043e \u2014 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f, \u0438 <s>\u043f\u0430\u0447\u043a\u0430\u0442\u044c \u0440\u0443\u043a\u0438<\/s> \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u043a\u043e\u0434\u0430 \u0434\u043b\u044f Windows \u0431\u044b\u043b\u043e \u043d\u0435\u043a\u043e\u043c\u0443, \u043d\u043e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u043e\u0442\u043a\u0440\u044b\u043b\u0438 \u0434\u043b\u044f open-source \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u2014 \u043f\u043e\u0440\u0442 \u0434\u043b\u044f Windows \u0431\u044b\u043b \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043c\u0438 \u043b\u044e\u0434\u044c\u043c\u0438 \u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443.<\/p>\n<p>  \u0425\u043e\u0442\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u0431\u0443\u0434\u0443\u0442 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c (\u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u043c, \u0440\u0430\u0437\u0432\u0435 \u0447\u0442\u043e, Android \u0438 Native Client (NaCl), \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0443\u0436\u043d\u044b \u043b\u0438\u0448\u043d\u0438\u0435 \u0442\u0435\u043b\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f), \u0434\u0430\u043b\u0435\u0435 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441\u0447\u0438\u0442\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u043e\u0434\u043d\u0443 \u0438\u0437 \u0442\u0440\u0435\u0445 \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c \u2014 Linux, MacOS X \u0438\u043b\u0438 Windows. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u044f \u0431\u0443\u0434\u0443 \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e Go-\u043a\u043e\u0434, \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043b\u0438\u043d\u043a\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u0421-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u043c\u0438 (\u0438, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c, \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c cgo\/gcc). \u0415\u0441\u0442\u044c \u0435\u0449\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u0435\u0439\u0441 \u2014 \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u044f\u0434 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0437\u0430\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 cgo, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u044f \u043d\u0430\u043f\u0438\u0448\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0433\u043b\u0430\u0432\u043e\u0439 \u0432 \u043a\u043e\u043d\u0446\u0435.<\/p>\n<h4>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 toolchain<\/h4>\n<p>  \u041f\u0435\u0440\u0432\u044b\u0439 \u0448\u0430\u0433, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u2014 \u044d\u0442\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c toolchain \u0434\u043b\u044f \u043d\u0443\u0436\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0441 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c Go (\u043e\u043d\u0430 \u0436\u0435 $GOROOT\/src, \u043e\u043d\u0430 \u0436\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044c \u0443 \u0432\u0430\u0441 \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435) \u0438 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u043e\u0434 \u043d\u0443\u0436\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443, \u0441\u043a\u0430\u0436\u0435\u043c Windows\/amd64:  <\/p>\n<pre><code class=\"bash\">cd $(go env GOROOT)\/src sudo GOOS=windows GOARCH=amd64 CGO_ENABLED=0 .\/make.bash --no-clean <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0430 Macbook Air 2012 \u043e\u043a\u043e\u043b\u043e 26 \u0441\u0435\u043a\u0443\u043d\u0434. \u0421\u043a\u0440\u0438\u043f\u0442 make.bash \u2014 \u044d\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0441\u0431\u043e\u0440\u043a\u0438 Go, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u044b \u0432\u044b \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0438 Go, \u0435\u0441\u043b\u0438 \u0431\u044b \u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432. \u041e\u043d \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, Go, \u0438 \u0432\u0441\u044e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443, \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u2014 \u0434\u043b\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b windows\/amd64.<br \/>  \u0422\u0430\u043a\u0436\u0435, \u043f\u043e \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u043e\u0439 \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u0435, \u043c\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 CGO.<\/p>\n<h4>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f GOOS \u0438 GOARCH<\/h4>\n<p>  \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 GOOS (\u0435\u0441\u043b\u0438 \u043a\u0442\u043e \u0437\u043d\u0430\u0435\u0442, \u043a\u0430\u043a \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0432 50% \u0448\u0438\u0440\u0438\u043d\u044b \u2014 \u043f\u043e\u0434\u0441\u043a\u0430\u0436\u0438\u0442\u0435):  <\/p>\n<table>\n<tr>\n<th>OS<\/th>\n<th>$GOOS<\/th>\n<\/tr>\n<tr>\n<td>Linux<\/td>\n<td>linux<\/td>\n<\/tr>\n<tr>\n<td>MacOS X<\/td>\n<td>darwin<\/td>\n<\/tr>\n<tr>\n<td>Windows<\/td>\n<td>windows<\/td>\n<\/tr>\n<tr>\n<td>FreeBSD<\/td>\n<td>freebsd<\/td>\n<\/tr>\n<tr>\n<td>NetBSD<\/td>\n<td>netbsd<\/td>\n<\/tr>\n<tr>\n<td>OpenBSD<\/td>\n<td>openbsd<\/td>\n<\/tr>\n<tr>\n<td>DragonFly BSD<\/td>\n<td>dragonfly<\/td>\n<\/tr>\n<tr>\n<td>Plan 9<\/td>\n<td>plan9<\/td>\n<\/tr>\n<tr>\n<td>Native Client<\/td>\n<td>nacl<\/td>\n<\/tr>\n<tr>\n<td>Android<\/td>\n<td>android<\/td>\n<\/tr>\n<\/table>\n<p>  \u0418 GOARCH:  <\/p>\n<table>\n<tr>\n<th>Architecture<\/th>\n<th>$GOARCH<\/th>\n<\/tr>\n<tr>\n<td>x386<\/td>\n<td>386<\/td>\n<\/tr>\n<tr>\n<td>AMD64<\/td>\n<td>amd64<\/td>\n<\/tr>\n<tr>\n<td>AMD64 \u0441 32-\u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f\u043c\u0438<\/td>\n<td>amd64p32<\/td>\n<\/tr>\n<tr>\n<td>ARM<\/td>\n<td>arm<\/td>\n<\/tr>\n<\/table>\n<h4>\u041f\u0440\u0438\u043c\u0435\u0440 1. \u0412\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0438 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0432 Linux \u0434\u043b\u044f Windows<\/h4>\n<p>  \u041d\u0430\u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 Go \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445\/\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0445 \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443.  <\/p>\n<pre><code class=\"go\">package main  import ( \t&quot;log&quot; \t&quot;net\/http&quot; )  func Handler(w http.ResponseWriter, r *http.Request) { \tw.Write([]byte(&quot;Hello, world\\n&quot;)) }  func main() { \thttp.HandleFunc(&quot;\/&quot;, Handler)  \tlog.Println(&quot;Starting HTTP server on :1234&quot;) \tlog.Fatal(http.ListenAndServe(&quot;:1234&quot;, nil)) } <\/code><\/pre>\n<p>  \u0418 \u0441\u043e\u0431\u0435\u0440\u0435\u043c \u0435\u0433\u043e \u0434\u043b\u044f Windows 32- \u0438 64-bit:  <\/p>\n<pre><code class=\"bash\">GOOS=windows GOARCH=386 go build -o http_example.exe GOOS=windows GOARCH=amd64 go build -o http_example64.exe <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c:  <\/p>\n<pre><code class=\"bash\">$ file http_example*.exe http_example.exe:   PE32 executable for MS Windows (console) Intel 80386 32-bit http_example64.exe: PE32+ executable for MS Windows (console) Mono\/.Net assembly <\/code><\/pre>\n<p>  \u0414\u0443\u043c\u0430\u044e, \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u0431\u0430 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0430 \u0433\u043e\u0442\u043e\u0432\u044b \u043a \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u043d\u0430 \u0446\u0435\u043b\u0435\u0432\u0443\u044e Windows-\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<p>  <a href=\"http:\/\/habrastorage.org\/files\/3d3\/ded\/64d\/3d3ded64dcca4acfb4f041017a1bcad0.png\"><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/9cd\/ee4\/0f2\/9cdee40f22fd44ef91ced75a62d0a230.png\"\/><\/a> <a href=\"http:\/\/habrastorage.org\/files\/3d5\/1e4\/30c\/3d51e430c65d46d7b921592cae570530.png\"><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/97d\/502\/62d\/97d50262dcba4f29bc308c8d9c9a0652.png\"\/><\/a><\/p>\n<h4>\u041f\u0440\u0438\u043c\u0435\u0440 2. \u041a\u0440\u043e\u0441\u0441-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u043f\u043e\u0434 ARM \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 Nokia N9<\/h4>\n<p>  \u0421\u0440\u0430\u0437\u0443 \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u044f \u0441 embedded-\u0434\u0435\u0432\u0430\u0439\u0441\u0430\u043c\u0438 \u043f\u043b\u043e\u0442\u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u0433\u0443 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0434\u0435\u0442\u0430\u043b\u0438 \u043d\u0435 \u0437\u043d\u0430\u0442\u044c \u2014 \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u043d\u0435 \u0443\u0433\u043b\u0443\u0431\u043b\u044f\u0442\u044c\u0441\u044f \u0432 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443, \u043d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u0437\u0430 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0435\u0439 \u0441 Go \u043d\u0430 embedded \u0441\u043b\u0435\u0436\u0443. \u0412\u043e\u043e\u0431\u0449\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, Go \u043d\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u043a\u0430\u043a \u044f\u0437\u044b\u043a \u0434\u043b\u044f embedded-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c, \u0447\u0442\u043e, \u0432\u043f\u0440\u043e\u0447\u0435\u043c, \u043d\u0435 \u043f\u043e\u043c\u0435\u0448\u0430\u043b\u043e \u043d\u0430\u0440\u043e\u0434\u0443 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043d\u0430\u0447\u0430\u0442\u044c \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e embedded-\u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u044f \u0441\u0434\u0435\u043b\u0430\u043b\u0430 \u0441\u043a\u0430\u0447\u043e\u043a \u0432\u043f\u0435\u0440\u0435\u0434, \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u00ab\u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0435\u00bb \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0443\u0436\u0435 \u043d\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043c\u0430\u043b\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u043f\u0440\u043e\u043c\u0438\u0441\u0441\u044b \u043d\u0435 \u0432 \u043f\u043e\u043b\u044c\u0437\u0443 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0438 \u043f\u0430\u043c\u044f\u0442\u0438 \u0432 Go \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043c\u0435\u043d\u0435\u0435 \u043e\u0449\u0443\u0442\u0438\u043c\u044b\u043c\u0438 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435, \u043d\u043e \u0444\u0430\u043a\u0442 \u0435\u0441\u0442\u044c \u0444\u0430\u043a\u0442 \u2014 \u0434\u043b\u044f Go \u0443\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043e \u043c\u0430\u0441\u0441\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432\u0440\u043e\u0434\u0435 <a href=\"http:\/\/gobot.io\">Gobot<\/a> (robotics-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u0446\u0435\u043b\u043e\u0439 \u043a\u0443\u0447\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c \u2014 \u043e\u0442 Arduino, Raspberry PI \u0438 Beaglebone Back \u0434\u043e LeapMotion, Pebble \u0438 ArDrone) \u0438\u043b\u0438 <a href=\"https:\/\/github.com\/kidoman\/embd\">EMBD<\/a> (\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 hobby-\u0431\u043e\u0440\u0434\u0430\u043c\u0438), \u0430 PayPal <a href=\"https:\/\/groups.google.com\/forum\/#!topic\/golang-nuts\/3cqoCCstuac\">\u0443\u0436\u0435 \u043f\u0430\u0440\u0443 \u043b\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 Go \u0432 \u0441\u0432\u043e\u0435\u043c beacon-\u0434\u0435\u0432\u0430\u0439\u0441\u0435 \u0434\u043b\u044f \u0431\u0435\u0441\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u0445 \u0447\u0435\u043a\u0438\u043d\u043e\u0432 \u0438 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439<\/a>.<\/p>\n<p>  \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0437\u044c\u043c\u0435\u043c Nokia N9 (\u0438\u043b\u0438 N950, \u043a\u043e\u043c\u0443 \u043f\u043e\u0432\u0435\u0437\u043b\u043e) \u2014 \u0438 \u0441\u043e\u0431\u0435\u0440\u0435\u043c \u0432\u044b\u0448\u0435\u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u043d\u0435\u0433\u043e:  <\/p>\n<pre><code class=\"bash\">GOOS=linux GOARCH=arm go build -o http_example_arm scp http_example_arm developer@192.168.2.16:\/home\/user\/ <\/code><\/pre>\n<p>  <a href=\"http:\/\/habrastorage.org\/files\/578\/9c0\/f60\/5789c0f60f194e5ea02e9c3f350227da.png\"><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/e6d\/89d\/992\/e6d89d992c514e6798885d2f86f7ef3d.png\"\/><\/a> <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/f24\/3c7\/e32\/f243c7e32820422b88d8c55460a5195a.png\"\/><\/p>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e, \u0434\u0430.<\/p>\n<p>  \u0414\u043b\u044f ARM-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c, \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0435\u0449\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0444\u043b\u0430\u0433 GOARM, \u043d\u043e \u0442\u0443\u0442, \u0435\u0441\u043b\u0438 \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a \u043d\u0430 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 \u0432\u044b\u0434\u0430\u0441\u0442 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u0432\u0440\u043e\u0434\u0435 \u0442\u0430\u043a\u043e\u0433\u043e:  <\/p>\n<pre><code class=\"bash\">runtime: this CPU has no floating point hardware, so it cannot  run this GOARM=7 binary. Recompile using GOARM=5. <\/code><\/pre>\n<h4>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441<\/h4>\n<p>  \u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0449\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0434 go build. \u041d\u043e \u0435\u0441\u0442\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u043a\u043e\u0434 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0438 \u0434\u0435\u043f\u043b\u043e\u0438\u0442\u044c \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043f\u043e 100 \u0440\u0430\u0437 \u0432 \u0434\u0435\u043d\u044c. \u0414\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438 toolchain-\u043e\u0432 \u0438, \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u0431\u043e\u0440\u043a\u0438 \u043a\u043e\u0434\u0430 \u043f\u043e\u0434 \u043d\u0443\u0436\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443.<\/p>\n<h5>Gox<\/h5>\n<p>  \u0421\u0441\u044b\u043b\u043a\u0430: <a href=\"https:\/\/github.com\/mitchellh\/gox\">github.com\/mitchellh\/gox<\/a><br \/>  \u0418\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u044f \u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0441\u0440\u0430\u0437\u0443 \u0432\u0441\u0435\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 toolchain-\u043e\u0432:  <\/p>\n<pre><code class=\"bash\">go get github.com\/mitchellh\/gox gox -build-toolchain ... <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c, \u0432\u043c\u0435\u0441\u0442\u043e \u00abgo build\u00bb, \u043f\u0438\u0448\u0435\u043c \u00abgox\u00bb:  <\/p>\n<pre><code class=\"bash\">$ gox Number of parallel builds: 4  --&gt;      darwin\/386: github.com\/mitchellh\/gox --&gt;    darwin\/amd64: github.com\/mitchellh\/gox --&gt;       linux\/386: github.com\/mitchellh\/gox --&gt;     linux\/amd64: github.com\/mitchellh\/gox --&gt;       linux\/arm: github.com\/mitchellh\/gox --&gt;     freebsd\/386: github.com\/mitchellh\/gox --&gt;   freebsd\/amd64: github.com\/mitchellh\/gox --&gt;     openbsd\/386: github.com\/mitchellh\/gox --&gt;   openbsd\/amd64: github.com\/mitchellh\/gox --&gt;     windows\/386: github.com\/mitchellh\/gox --&gt;   windows\/amd64: github.com\/mitchellh\/gox --&gt;     freebsd\/arm: github.com\/mitchellh\/gox --&gt;      netbsd\/386: github.com\/mitchellh\/gox --&gt;    netbsd\/amd64: github.com\/mitchellh\/gox --&gt;      netbsd\/arm: github.com\/mitchellh\/gox --&gt;       plan9\/386: github.com\/mitchellh\/gox  <\/code><\/pre>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 \u0438\u043b\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443:  <\/p>\n<pre><code class=\"bash\">gox -os=&quot;linux&quot; gox -osarch=&quot;linux\/amd64&quot; gox github.com\/divan\/gorilla-xmlrpc\/xml <\/code><\/pre>\n<p>  \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b go build. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e.<\/p>\n<h5>GoCX<\/h5>\n<p>  GoCX \u2014 \u044d\u0442\u043e \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 \u0432\u0440\u0430\u043f\u043f\u0435\u0440\u043e\u0432 \u0432\u043e\u043a\u0440\u0443\u0433 \u0444\u0438\u0447 \u043a\u0440\u043e\u0441\u0441-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u043d\u043e \u0441 \u0443\u043f\u043e\u0440\u043e\u043c \u043d\u0430 \u043f\u0430\u043a\u0430\u0434\u0436\u0438\u043d\u0433 (\u0443\u043c\u0435\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c .deb \u0434\u0430\u0436\u0435) \u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u043b\u044e\u0448\u043a\u0438 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u0431\u043e\u0440\u043e\u043a. \u0421\u0430\u043c \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443, \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0441\u0430\u0439\u0442 \u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e.<br \/>  <a href=\"https:\/\/github.com\/laher\/goxc\">github.com\/laher\/goxc<\/a><\/p>\n<h4>\u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0441 CGO<\/h4>\n<p>  \u0415\u0441\u043b\u0438 \u043a\u0442\u043e-\u0442\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0432\u0438\u0434\u0435\u043e \u0441 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 GopherCon 2014, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b\u0430 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0432\u0435\u0441\u043d\u043e\u0439 \u0432 \u0414\u0435\u043d\u0432\u0435\u0440\u0435, \u0442\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043f\u043e\u043c\u043d\u0438\u0442 \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 <a href=\"https:\/\/twitter.com\/inconshreveable\">Alan Shreve<\/a> <a href=\"https:\/\/www.youtube.com\/watch?v=stFw0f3WEsk\">\u00abBuild Your Developer Tools in Go\u00bb<\/a> \u2014 \u0438 \u043e\u0434\u043d\u0443 \u0438\u0437 \u0432\u0435\u0449\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043e\u043d \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0447\u043d\u043e: \u00ab\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u0440\u043e\u0441\u0441-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044e, \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0439\u0442\u0435 \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u00bb. \u0414\u0430\u043b\u044c\u0448\u0435 \u0438\u0434\u0435\u0442 \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u2014 \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u0432 Cgo. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c cgo \u2014 \u0432\u0441\u0435 \u043e\u043a\u0435\u0439. \u0418 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u043e\u0447\u0435\u043d\u044c \u043c\u0430\u043b\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0432 Go \u043d\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0421-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0445. \u0412 \u0447\u0435\u043c \u0436\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430?<\/p>\n<p>  \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 cgo. \u0422\u043e\u0435\u0441\u0442\u044c, \u0435\u0441\u043b\u0438 \u043c\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c Go \u0441 CGO_ENABLED=0, \u043e\u043d\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0438 \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0448\u0438\u0431\u043a\u0443. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0442\u0443\u0442 \u0435\u0441\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439 workaround, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u0436\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 cgo.<\/p>\n<p>  \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e:  <\/p>\n<pre><code class=\"bash\"># cd $(go env GOROOT)\/src\/ # grep  -re &quot;^\/\/ +build.*[^\\!]cgo&quot; * crypto\/x509\/root_cgo_darwin.go:\/\/ +build cgo net\/cgo_android.go:\/\/ +build cgo,!netgo net\/cgo_linux.go:\/\/ +build !android,cgo,!netgo net\/cgo_netbsd.go:\/\/ +build cgo,!netgo net\/cgo_openbsd.go:\/\/ +build cgo,!netgo net\/cgo_unix_test.go:\/\/ +build cgo,!netgo os\/user\/lookup_unix.go:\/\/ +build cgo runtime\/crash_cgo_test.go:\/\/ +build cgo <\/code><\/pre>\n<p>  \u0412\u043a\u0440\u0430\u0442\u0446\u0435 \u043f\u0440\u043e\u0439\u0434\u0435\u043c\u0441\u044f \u043f\u043e \u044d\u0442\u0438\u043c \u0444\u0430\u0439\u043b\u0430\u043c:  <\/p>\n<ul>\n<li><b>crypto\/x509\/root_cgo_darwin.go<\/b> \u2014 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043e\u0434\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u0445 X.509 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u0432 MacOS X. \u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u044f\u0432\u043d\u043e \u044d\u0442\u0443 \u0444\u0438\u0447\u0443 \u2014 \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u0442\u0440\u0430\u0448\u043d\u043e\u0433\u043e, \u0431\u0435\u0437 cgo \u0443 \u0432\u0430\u0441 \u0432\u0441\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/li>\n<li><b>net\/cgo_android\/linux\/netbsd\/openbsd\/cgo_unix_test.go<\/b> \u2014 \u043a\u043e\u0434 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e DNS-\u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440\u0430 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 unix-\u0430\u0445. \u0427\u0443\u0442\u044c \u043d\u0438\u0436\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438.<\/li>\n<li><b>os\/user\/lookup_unix.go<\/b> \u2014 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u0430 os\/user \u2014 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u044e\u0437\u0435\u0440\u0435 (uid, gid, username). \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f <a href=\"http:\/\/linux.die.net\/man\/3\/getpwuid_r\">getpwuid_r<\/a>() \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f passwd-\u0437\u0430\u043f\u0438\u0441\u0435\u0439<\/li>\n<li><b>runtime\/crash_cgo_test.go<\/b> \u2014 \u0444\u0430\u0439\u043b \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438 \u0434\u043b\u044f \u0445\u0435\u043d\u0434\u043b\u0438\u043d\u0433\u0430 \u043a\u0440\u0435\u0448\u0435\u0439, \u043d\u0438\u0447\u0435\u0433\u043e \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0433\u043e<\/li>\n<\/ul>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043f\u0440\u043e DNS-resolver.<br \/>  \u041a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b \u0438\u0437 \u0442\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430 (\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0442\u0435\u0433\u0430\u043c \/\/ +build) \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 cgoAddrInfoFlags(), \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 cgoLookupIP(), \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 dnsclient_unix.go, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e goLookupIP(), \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043b\u0443\u0436\u0438\u0442 fallback-\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c \u043f\u0440\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 cgo-enabled \u043a\u043e\u0434\u0430, \u0438 \u0442\u0443\u0442 \u0436\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435:  <\/p>\n<blockquote><p>\/\/ goLookupIP is the native Go implementation of LookupIP.<br \/>  \/\/ Used only if cgoLookupIP refuses to handle the request<br \/>  \/\/ (that is, only if cgoLookupIP is the stub in cgo_stub.go).<br \/>  \/\/ Normally we let cgo use the C library resolver instead of<br \/>  \/\/ depending on our lookup code, so that Go and C get the same<br \/>  \/\/ answers.<\/p><\/blockquote>\n<p>  goLookupIP \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0435\u0437\u043e\u043b\u0432\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e Hosts-\u0444\u0430\u0439\u043b\u0443 \u0438 \u043f\u043e DNS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443, \u0447\u0442\u043e \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u0441\u0438\u0441\u0442\u0435\u043c \u2014 \u043e\u043a. \u041d\u043e \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0435\u0441\u043b\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0440\u0435\u0437\u043e\u043b\u0432\u0438\u043d\u0433\u0430 \u0438\u043c\u0451\u043d. \u041f\u043e\u043b\u0430\u0433\u0430\u044e, \u0447\u0442\u043e \u0432 99% \u0441\u043b\u0443\u0447\u0430\u0435\u0432, hosts \u0438 dns \u0431\u0443\u0434\u0443\u0442 \u0431\u043e\u043b\u0435\u0435, \u0447\u0435\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e.<\/p>\n<p>  \u0412 \u0441\u0443\u0445\u043e\u043c \u043e\u0441\u0442\u0430\u0442\u043a\u0435 \u0438\u043c\u0435\u0435\u043c \u2014 \u0435\u0441\u043b\u0438 \u0432\u0430\u0448 \u043a\u043e\u0434 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0421\/\u0421++-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 Cgo, \u0438 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0432\u0435 \u0432\u0435\u0449\u0438:  <\/p>\n<ul>\n<li><b>\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 x.509 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u043e\u043b\u0436\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 MacOS X<\/b><\/li>\n<li><b>\u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u044e\u0437\u0435\u0440\u0435<\/b><\/li>\n<\/ul>\n<p>  \u0442\u043e \u043d\u0430 \u0432\u0441\u0435 \u0437\u0430\u043c\u043e\u0440\u043e\u0447\u043a\u0438 \u0441 Cgo <b>\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0431\u0438\u0442\u044c<\/b>.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c (\u0441 X.509) \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043d\u0435 \u0442\u0430\u043a\u0430\u044f \u0443\u0436 \u0440\u0435\u0434\u043a\u0430\u044f. \u0415\u0441\u043b\u0438 \u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u2014 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u043d\u0443\u0436\u0435\u043d, \u0435\u0441\u043b\u0438 \u0432\u0430\u0448\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 net\/http.StartAndListenTLS() \u2014 \u0438 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c.<\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043a\u0440\u0430\u0442\u0446\u0435 \u043e \u043f\u0440\u043e\u0441\u0442\u043e\u043c workaround \u0432\u043e\u043a\u0440\u0443\u0433 \u044d\u0442\u043e\u0439 \u0442\u0435\u043c\u044b \u2014 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043d <a href=\"http:\/\/github.com\/inconshreveable\/gonative\">gonative<\/a>, \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u0434\u043d\u0443 \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u0432\u0435\u0449\u044c \u2014 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 golang \u043d\u0443\u0436\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0434\u043b\u044f \u043d\u0443\u0436\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0438 \u0432\u0441\u0435\u0445 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438, \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u00ab\u0441\u043e\u0431\u0440\u0430\u0442\u044c toolchain \u0441 cgo-\u043a\u043e\u0434\u043e\u043c\u00bb.<br \/>  \u0412\u0441\u0451 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u044d\u0442\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0435\u0451 (go get github.com\/inconshreveable\/gonative) \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043e\u0434\u043d\u0443 \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:  <\/p>\n<pre><code class=\"bash\">gonative <\/code><\/pre>\n<p>  \u0418 \u0434\u0430\u043b\u044c\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043a\u0440\u043e\u0441\u0441\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u043a\u0430\u043a \u0438 \u0440\u0430\u043d\u044c\u0448\u0435, \u0440\u0443\u0447\u043a\u0430\u043c\u0438 \u0438\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 gox\/gocx.<br \/>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e gonative \u0442\u0443\u0442: <a href=\"https:\/\/inconshreveable.com\/04-30-2014\/cross-compiling-golang-programs-with-native-libraries\/\">inconshreveable.com\/04-30-2014\/cross-compiling-golang-programs-with-native-libraries\/<\/a><\/p>\n<h4>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043e \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u2014 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435 \u043f\u043e\u043a\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0440\u0438 \u0441\u0445\u0435\u043c\u044b \u2014 \u00ab\u0441\u0431\u043e\u0440\u043a\u0430 \u043d\u0430 darwin\/amd64 -&gt; \u0434\u0435\u043f\u043b\u043e\u0439 \u043d\u0430 linux\/386\u00bb, \u00ablinux\/amd64 -&gt; linux\/386\u00bb \u0438 \u00ablinux\/amd64 -&gt; windows\/amd64\u00bb. \u042d\u0442\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0433\u043e\u0434\u0430 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442. \u0422\u0440\u0435\u0442\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 (\u0434\u0435\u043f\u043b\u043e\u0439 \u043d\u0430 windows) \u0442\u043e\u0433\u0434\u0430 \u043c\u0435\u043d\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0437\u0430\u0441\u0442\u0430\u043b \u0432\u0440\u0430\u0441\u043f\u043b\u043e\u0445 \u2014 \u0431\u044b\u043b \u0441\u0435\u0440\u0432\u0435\u0440, \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0431\u0435\u0433\u0443\u0449\u0438\u0439 \u043d\u0430 Linux, \u0438 \u0442\u0443\u0442 \u0432\u0434\u0440\u0443\u0433 \u0440\u0435\u0437\u043a\u043e \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u0435\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0430 Windows. \u041f\u0440\u0438\u0447\u0435\u043c \u00ab\u0432\u043e\u0442 \u0441\u0440\u043e\u0447\u043d\u043e \u043d\u0430\u0434\u043e\u00bb. \u0412\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u044f \u0431\u0435\u0441\u0441\u043e\u043d\u043d\u044b\u0435 \u043d\u043e\u0447\u0438 \u043e\u043f\u044b\u0442\u0430 \u0441 \u043a\u0440\u043e\u0441\u0441- \u2014 \u0434\u0430 \u0447\u0442\u043e \u0442\u0430\u043c \u043a\u0440\u043e\u0441\u0441, \u043f\u0440\u043e\u0441\u0442\u043e \u0441 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0435\u0439 Qt \u0434\u043b\u044f \u0434\u0435\u043f\u043b\u043e\u044f \u043d\u0430 Windows \u2014 60-\u0441\u0435\u043a\u0443\u043d\u0434\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u00ab\u0433\u0443\u0433\u043b\u0438\u043c \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u2192 \u0441\u0431\u043e\u0440\u043a\u0430 toolchain \u2192 \u043f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u2192 \u0434\u0435\u043f\u043b\u043e\u0439 \u043d\u0430 windows\u00bb \u2014 \u0441\u0442\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u043e \u0448\u043e\u043a\u043e\u043c, \u044f \u0442\u043e\u0433\u0434\u0430 \u0434\u0430\u0436\u0435 \u043d\u0435 \u043f\u043e\u0432\u0435\u0440\u0438\u043b \u0433\u043b\u0430\u0437\u0430\u043c.<\/p>\n<p>  \u041d\u043e \u0442\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u2014 \u0440\u0430\u0437 \u043a\u0440\u043e\u0441\u0441-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438 \u0434\u0435\u043f\u043b\u043e\u0439 \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u043c\u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438 \u0438 \u0431\u044b\u0441\u0442\u0440\u044b\u043c\u0438, \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0442\u0438\u043c\u0443\u043b \u0432\u0441\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0444\u0430\u0439\u043b\u043e\u0432 \u2014 \u0431\u0443\u0434\u044c-\u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0438, \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0438\u043b\u0438 \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u0435\u0449\u0435 \u2014 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a \u0442\u043e\u0436\u0435. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u044d\u0442\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430, \u0434\u0430\u0436\u0435 \u0434\u043b\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e io.Reader \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0438 \u043f\u0430\u043a\u0435\u0442\u0443 <a href=\"https:\/\/github.com\/jteeuwen\/go-bindata\">go-bindata<\/a>, \u043d\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u043d\u0438\u0447\u0435\u0433\u043e \u0438\u0437 \u0433\u043b\u0430\u0432\u043d\u043e\u0433\u043e \u043d\u0435 \u0443\u043f\u0443\u0441\u0442\u0438\u043b.<br \/>  \u041d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u044d\u0442\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043e\u0447\u0435\u043d\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0441\u043e \u0432\u0441\u0435\u043c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u043a\u0440\u043e\u0441\u0441-\u0441\u0431\u043e\u0440\u043a\u0438. \u0415\u0441\u043b\u0438 \u0447\u0435\u0441\u0442\u043d\u043e, \u044f \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043d\u0435 \u043f\u0440\u0438\u0432\u044b\u043a \u043a \u044d\u0442\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u0435. \u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0438 \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 dev-\u0441\u0440\u0435\u0434\u043e\u0439, \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0434\u043e\u043a\u0435\u0440-\u0438\u043c\u0438\u0434\u0436\u0438 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u2014 \u0434\u0430 \u0432\u043e\u043e\u0431\u0449\u0435 dev-environment \u043e\u0442\u043f\u0430\u0434\u0430\u0435\u0442 \u043a\u0430\u043a \u0442\u0430\u043a\u043e\u0432\u043e\u0439. \u042d\u0442\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0440\u0435\u0437\u043a\u0438\u0439 game changer, \u0447\u0442\u043e\u0431\u044b \u0442\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u0438\u0432\u044b\u043a\u043d\u0443\u0442\u044c. \ud83d\ude42<\/p>\n<h4>\u0421\u0441\u044b\u043b\u043a\u0438<\/h4>\n<p>  <a href=\"http:\/\/dave.cheney.net\/2012\/09\/08\/an-introduction-to-cross-compilation-with-go\">dave.cheney.net\/2012\/09\/08\/an-introduction-to-cross-compilation-with-go<\/a><br \/>  <a href=\"http:\/\/blog.hashbangbash.com\/2014\/04\/linking-golang-statically\/\">blog.hashbangbash.com\/2014\/04\/linking-golang-statically\/<\/a><br \/>  <a href=\"http:\/\/www.limitlessfx.com\/cross-compile-golang-app-for-windows-from-linux.html\">www.limitlessfx.com\/cross-compile-golang-app-for-windows-from-linux.html<\/a>      \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/249449\/\"> http:\/\/habrahabr.ru\/post\/249449\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0441\u0442\u0430\u043b\u0430 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435\u0445 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e-\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442, \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e. \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u044f\u0437\u044b\u043a\u0438 \u0438 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0440\u0435\u0434\u044b \u0441\u0431\u043e\u0440\u043a\u0438 \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0430 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u2014 \u043e\u0431\u044f\u0437\u044b\u0432\u0430\u043b\u0438 \u0438\u043c\u0435\u0442\u044c \u0438\u043b\u0438 \u0434\u0435\u043f\u043b\u043e\u0438\u0442\u044c \u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430. \u0415\u0441\u0442\u044c \u043d\u0435\u043c\u0430\u043b\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u043f\u044b\u0442\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0447\u0443\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u043c, \u043d\u043e \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0442\u0438\u0432\u043d\u043e.<\/p>\n<p>  \u0412 Go \u043a\u0440\u043e\u0441\u0441-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0448\u043b\u0430 \u043d\u0430 \u0442\u043e\u0442 \u0443\u0440\u043e\u0432\u0435\u043d\u044c, \u043a\u043e\u0433\u0434\u0430 \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u0435\u043b\u043e \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 compile farms, \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 dev-\u0441\u0440\u0435\u0434, \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u0438\u043b\u0438 chroot\/docker-dev \u0440\u0435\u0448\u0435\u043d\u0438\u0439. \u0418 \u044d\u0442\u043e \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0439 game-changer, \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u0438 \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445<br \/>  \u041f\u043e\u0435\u0445\u0430\u043b\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/1dd\/0dc\/931\/1dd0dc9313c84154b96560aadf1ade50.jpg\"\/><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-249449","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/249449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=249449"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/249449\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=249449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=249449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=249449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}