Re:Include Go binary only package
by lucaspiller on Friday April 29, 2016 @05:53AM
(#11594678)
"Various users have reported working with companies that want to provide them with binary but not source forms of purchased packages. We want to define an explicit way to do that instead of fielding bug reports each time the go command gets smarter about detecting source-vs-binary mismatches."
The answer could also be to ship an executable and then use IPC instead.
Re:Include Go binary only package
by Matthias247 on Friday April 29, 2016 @02:55PM
(#11597911)
That has completely different performance characteristics. And for sane usage you need then some code again in the main program that encapsulates away the IPC basics. And it won't work for all use cases, e.g. moving parts of the GUI into a different process will most likely not work.
Under what circumstances is this necessary? I can't think of any valid use-case for this odd feature.
> It is common in C for a code author to provide a C header file and the compiled form of a library but not the complete source code. The go command has never supported this officially.
Is it? I've never heard of this or seen this.
https://github.com/golang/proposal/blob/master/design/2775-b...