Re: [go-nuts] strip / reduce module compile size

2024-06-14 Thread 'Dan Kortschak' via golang-nuts
On Fri, 2024-06-14 at 19:35 -0500, robert engels wrote: > Something doesn’t seem right... You state the total compiled size is > 22MB, but the first 3 entries combined are more than that. It looks like goweight just gets the size of the .a files that are generated during the build and returns the

Re: [go-nuts] strip / reduce module compile size

2024-06-14 Thread robert engels
Something doesn’t seem right... You state the total compiled size is 22MB, but the first 3 entries combined are more than that. > On Jun 14, 2024, at 4:43 PM, Tony M wrote: > > Thank you to github.com/jondot/goweight I was able to determine the compiled > module sizes (below). Heavy hitters ar

[go-nuts] strip / reduce module compile size

2024-06-14 Thread Tony M
Thank you to github.com/jondot/goweight I was able to determine the compiled module sizes (below). Heavy hitters are net/http & protobufs, among 100+ others . Total compile size is 22MB . Are there any tools or flags that can help strip or reduce some of the compiled code from these modules?

[go-nuts] Re: submitting to Go, needing to rebase

2024-06-14 Thread Alberto Donizetti
In the gerrit page, click on DOWNLOAD on the right (or press d on your keyboard), a window will appear. What you want is the second option (checkout). Alberto On Friday 14 June 2024 at 13:05:55 UTC+2 Leah Stapleton wrote: > Consider the following scenario. I make a commit to the Golang source c

[go-nuts] submitting to Go, needing to rebase

2024-06-14 Thread Leah Stapleton
Consider the following scenario. I make a commit to the Golang source code repo (at https://go.googlesource.com/go) A reviewer gives me feedback and I need to amend my changes. While a change is in review the HEAD of the target branch can change, in which case a rebase is necessary as described

[go-nuts] [ANN] Hackers Delight in Go

2024-06-14 Thread Nikolay Dubina
*What?* https://github.com/nikolaydubina/go-hackers-delight This is showcase of all code in famous "Hackers Delight" book in Go. Code is tested, fuzzed, and benchmarked. Best read through: https://pkg.go.dev/github.com/nikolaydubina/go-hackers-delight that shows interactive examples *Who may