the go archive size must be smaller?

260 views
Skip to first unread message

yangw...@gmail.com

unread,
Jul 16, 2020, 12:47:36 PM7/16/20
to golang-nuts
This diagram is the archive size of the go release package.

What's this in those increase package size ?
Maybe we can reduce the archive size in future.

Tyler Compton

unread,
Jul 16, 2020, 2:17:26 PM7/16/20
to yangw...@gmail.com, golang-nuts
I think something unfortunate happened to your diagram. On Gmail, I see an <img> tag with a huge amount of base64 encoded text, and on Google Groups I don't see anything at all. It may work better to upload the image to a hosting service like Imgur and link to it.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e59710cd-aa23-483a-a8ad-2c8d8e9e9eaan%40googlegroups.com.

yangw...@gmail.com

unread,
Jul 17, 2020, 3:54:11 AM7/17/20
to golang-nuts
go-release-archive-size-2020-07-16.png

Ian Davis

unread,
Jul 17, 2020, 5:38:04 AM7/17/20
to golan...@googlegroups.com
Note that progress for reducing binary size is tracked under this issue: https://github.com/golang/go/issues/6853

yangw...@gmail.com

unread,
Jul 17, 2020, 5:33:31 PM7/17/20
to golang-nuts
This issue is only the binary file, I said is go archive size .

Michael Jones

unread,
Jul 17, 2020, 9:34:20 PM7/17/20
to yangw...@gmail.com, golang-nuts
What are you asking for?

1. GZip to compress more completely?
2. Use of different compression tools? (Zstd?)
3. Go to output binaries that are more compression friendly?
4. The Go binaries to just be smaller?
:

If you are specific, you will get specific answers. 

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
--
Michael T. Jones
michae...@gmail.com

Jake Montgomery

unread,
Jul 18, 2020, 12:11:02 PM7/18/20
to golang-nuts
You are asking about the size of the archived go distributions, NOT about the size of programs built with go, correct?

yangw...@gmail.com

unread,
Jul 20, 2020, 1:40:40 PM7/20/20
to golang-nuts
Yes, I'm asking about the size of the archived go distributions.

Ian Lance Taylor

unread,
Jul 20, 2020, 2:16:19 PM7/20/20
to yangw...@gmail.com, golang-nuts
On Mon, Jul 20, 2020 at 10:41 AM yangw...@gmail.com
<yangw...@gmail.com> wrote:
>
> Yes, I'm asking about the size of the archived go distributions.

Thanks. Now that we understand that, what is your question?

Ian
> --
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/874a0d0d-324e-46d1-9c2c-a119889fd00an%40googlegroups.com.

yangw...@gmail.com

unread,
Jul 20, 2020, 2:29:23 PM7/20/20
to golang-nuts
The size of the archived go distributions is growing in newer go release.

My question:
What are the main contents of these additions? Can the size of the archived go distributions be reduced?

Ian Lance Taylor

unread,
Jul 20, 2020, 2:42:58 PM7/20/20
to yangw...@gmail.com, golang-nuts
On Mon, Jul 20, 2020 at 11:29 AM yangw...@gmail.com
<yangw...@gmail.com> wrote:
>
> The size of the archived go distributions is growing in newer go release.
>
> My question:
> What are the main contents of these additions? Can the size of the archived go distributions be reduced?

The Go 1 compatibility guarantee (https://golang.org/doc/go1compat)
pretty much guarantees that every new release will be larger. It's
hard for us to get rid of existing code.

Although the size is increasing the increase does not seem all that
big, and the file size doesn't seem particularly large by modern
standards. Is this causing a problem somewhere?

Thanks.

Ian


> 在2020年7月21日星期二 UTC+8 上午2:16:19<Ian Lance Taylor> 写道:
>>
>> On Mon, Jul 20, 2020 at 10:41 AM yangw...@gmail.com
>> <yangw...@gmail.com> wrote:
>> >
>> > Yes, I'm asking about the size of the archived go distributions.
>>
>> Thanks. Now that we understand that, what is your question?
>>
>> Ian
>>
>>
>> > 在2020年7月19日星期日 UTC+8 上午12:11:02<jake...@gmail.com> 写道:
>> >>
>> >> You are asking about the size of the archived go distributions, NOT about the size of programs built with go, correct?
>> >>
>> >>
>> >> On Friday, July 17, 2020 at 5:33:31 PM UTC-4, yangw...@gmail.com wrote:
>> >>>
>> >>> This issue is only the binary file, I said is go archive size .
>> >>> Such as go1.14.6.darwin-amd64.tar.gz or go1.14.5.darwin-amd64.tar.gz's size etc.
>> >>>
>> >>> 在2020年7月17日星期五 UTC+8 下午5:38:04<Ian Davis> 写道:
>> >>>>
>> >>>> Note that progress for reducing binary size is tracked under this issue: https://github.com/golang/go/issues/6853
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups "golang-nuts" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
>> > To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/874a0d0d-324e-46d1-9c2c-a119889fd00an%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/3f99ea3b-58ae-4916-926f-32b20b161615n%40googlegroups.com.

yangw...@gmail.com

unread,
Jul 20, 2020, 3:13:07 PM7/20/20
to golang-nuts
No problem, i'm just curious.

Thanks.

mai

Reply all
Reply to author
Forward
0 new messages