----- Original Message -----
From: "Florian Weimer" <fweimer(a)redhat.com>
To: "Jakub Cajka" <jcajka(a)redhat.com>
Cc: golang(a)lists.fedoraproject.org
Sent: Wednesday, March 13, 2019 11:44:09 AM
Subject: Re: [golang-dev] proposal: public module authentication with the Go notary
* Jakub Cajka:
> ----- Original Message -----
>> From: "Florian Weimer" <fweimer(a)redhat.com>
>> To: "Jakub Cajka" <jcajka(a)redhat.com>
>> Cc: golang(a)lists.fedoraproject.org
>> Sent: Wednesday, March 13, 2019 10:58:16 AM
>> Subject: Re: [golang-dev] proposal: public module authentication with the
>> Go notary
>>
>> * Jakub Cajka:
>>
>> > From the Fedora perspective it is due to the stability of the upstream
>> > code(API changes) there is nearly no effective difference compared to
>> > the non shared(you will have to rebuild "everything" anyway). I
have
>> > been toying for a long time with switching at least sdtlib to be
>> > dynamically linked in the BR, but haven't got around to push it
>> > out(i.e. coerce maintainers to BR it, IMHO we have bigger nuts to
>> > crack atm).
>>
>> I don't think linking the run time dynamically is feasible.
>>
>> The Go 1 compatibility strategy does not mention not adding private
>> fields to structs as a breaking change, for example:
>>
>> <
https://golang.org/doc/go1compat>
>>
>> But each time you allocate a struct, the caller inlines the size, so
>> adding private fields is very much a breaking change.
>>
>> Thanks,
>> Florian
>
> This is not(shouldn't be) a runtime, just the standard library.
Uhm, what's the difference between the two? There is no separate
run-time library.
Thanks,
Florian
I have a feeling that we have had this discussion in the past.
If I'm not mistaken then
https://golang.org/pkg/ is the stdlib(including
"runtime" package that enables interaction with runtime) and runtime is
separated part of a language/compiler/produced binary, i.e. it is baked in to each binary
it is not "public" lib in C sense and AFAIK can't be linked in dynamically.
For reference
https://golang.org/doc/faq#runtime .
Hope I'm getting it right.
JC