Eric, imagine the following scenario:
You write a Java class that implements 2 different thirdparty interfaces
that are very similar (Thus single impl). One of those interfaces resides
in a jar that puts licensing limitations to your code/product. That becomes
a problem. Go gives you the option
Yes, so what you are describing to me needs to be told to the C compiler
users in a formal way so that they make sure their alignment is the same as
Go. Thanks.
On Mon, Sep 19, 2016 at 2:27 PM, Ian Lance Taylor wrote:
> On Mon, Sep 19, 2016 at 2:08 PM, Ali Demir wrote:
> > Packing
AM, Ian Lance Taylor wrote:
> On Mon, Sep 19, 2016 at 8:50 AM, Ali Demir wrote:
> > Header file won't have padding / alignment info. That would be a compiler
> > setting on the C side that is using the header. So the programmer needs
> to
> > setup C compiler in a wa
Header file won't have padding / alignment info. That would be a compiler
setting on the C side that is using the header. So the programmer needs to
setup C compiler in a way that is compatible with the go compiler. How
would he know how to set it up? Do we just assume defaults are the same
between