News for hackers. Stuff that matters.
Re:Cloud Functions: Go 1.11 is now a supported language by sbr464 on Thursday January 17, 2019 @01:09AM (#18928753)
Curious, wouldn’t you want the source code to compile on the final platform? (If not using docker) I’m not familiar with binary or lower level workings but I figured there would be certain benefits of compiling the same code on Linux vs Mac or Windows for example.
Re:Cloud Functions: Go 1.11 is now a supported language by slimsag on Thursday January 17, 2019 @02:49AM (#18929108)
The Go compiler produces the same binary regardless of which host OS it is ran on. i.e., the OS you compile a Go program on doesn't matter (assuming pure Go code, not including C etc).
Re:Cloud Functions: Go 1.11 is now a supported language by black-tea on Thursday January 17, 2019 @03:17AM (#18929207)
I think he was talking more about the machine architecture than the OS.
Re:Cloud Functions: Go 1.11 is now a supported language by mjlee on Thursday January 17, 2019 @03:53AM (#18929342)
As of Go 1.5 the compiler works for any supported target architecture.
Re:Cloud Functions: Go 1.11 is now a supported language by sbr464 on Thursday January 17, 2019 @03:15AM (#18929199)
Thx for the info, I don’t use Go typically.