Welcome to Continue: Go Proposals edition! Where did the time go? We've got a couple of profiling proposals this week, with one aiming to show us actual latency instead of just CPU cycles. We've also got a proposal that's been around almost as long as Go 1 has and it's a quirk many of us have stumbled over: assigning to the fields of a map value.In Continued, Kris discusses a proposal to add a way to gracefully drain an HTTP/2 connection and a proposal that tells us why we're likely never getting a WebP encoder in the standard library.Proposal Status Updates#70089: runtime/mainthread: run a function on the main thread#63477: go/types: adapt a function into a package importer#69491: go/types/exportdata: add Encode and Decode#82315: x/crypto/ssh: add composite signature algorithmsProposals Discussed#3117: spec: assign directly to a struct field in a map element#83669: runtime/pprof: add a latency sample type to CPU profiles#83536: database/sql: add DBStats.InUseDuration#83552: net/http: gracefully drain an individual HTTP/2 connection [Continued]#45121: x/image/webp: add WebP encoding [Continued]Hidden Gem Proposals#74640: os: export ErrPathEscapes#83662: net/http: populate the matched pattern and path valuesIf you prefer to watch this episode, you can view it on YouTube: https://youtu.be/SOPW5y04lb8.Thanks for tuning in and happy listening!Table of Contents:Prologue (00:00:00)Chapter 1: #70089: runtime/mainthread: run a function on the main thread (00:00:47)Chapter 2: #63477: go/types: adapt a function into a package importer (00:01:13)Chapter 3: #69491: go/types/exportdata: add Encode and Decode (00:01:44)Chapter 4: #82315: x/crypto/ssh: add composite signature algorithms (00:02:47)Chapter 5: #3117: spec: assign directly to a struct field in a map element (00:03:58)Chapter 6: #83669: runtime/pprof: add a latency sample type to CPU profiles (00:07:04)Chapter 7: #83536: database/sql: add DBStats.InUseDuration (00:09:49)Chapter 12: #74640: os: export ErrPathEscapes (00:12:29)Chapter 13: #83662: net/http: populate the matched pattern and path values (00:13:45)Epilogue (00:15:16)Host: Kris BrandowProducer: Kris BrandowBeats: Breakmaster CylinderSocials:WebsiteBlueskyThreadsX/TwitterLinkedInInstagramTikTokChangelog ZulipGophers Slack ★ Support this podcast ★
Welcome to Continue: Go Proposals edition! This week, Kris tackles a few proposals that, while small seem to be stuck in the proposal backlog. That includes a FreeBSD little-endian POWER port, which already has CI and maintainers lined up. He also covers a likely decline proposal which would give libraries the ability to run code on Go's main thread.Along the way, we cover composite signatures in X.509 certificates, the addition of Never Index to the HTTP/2 HPACK implementation, and a profile-guided slice growing proposal. In the Continued version, Kris discusses a proposal that would fix a JSON Marshaling issue that Kubernetes has run into and a refinement to how OS signals and context.Context interact.Proposal Status Updates:#82173: net/http, mime/multipart: better control over form parsing#74500: all: add a FreeBSD port for little-endian POWERProposals Discussed:#83343: crypto/mldsa/composite, crypto/x509: add Composite ML-DSA support#78306: net/http2: let clients mark headers as never indexed#70089: runtime/mainthread: add mainthread.Do#83304: cmd/trace, cmd/compile, runtime: use value profiling to optimize slice growth#83375: json/v2: support custom marshaling for inlined structs [Continued]#60756: os/signal: identify the signal that canceled a context [Continued]Hidden Gem Proposals:#83285: x/crypto/acme: finalize an order without waiting for the certificate#63477: go/types: add an ImporterFunc adapter#82929: mime: add built-in MIME types for JPEG XL and EPUBIf you prefer to watch this episode, you can view it on YouTube: https://youtu.be/Bfj-PYVe9rE.Thanks for tuning in and happy listening!Table of Contents:Prologue (00:00:00)Chapter 1: #82173: net/http, mime/multipart: better control over form parsing (00:00:45)Chapter 2: #74500: all: freebsd/ppc64le port (00:01:45)Chapter 3: #83343: crypto/mldsa/composite, crypto/x509: add Composite ML-DSA support (00:02:58)Chapter 4: #78306: net/http2: add SensitiveHeaders to HTTP/2 Transport (00:04:55)Chapter 5: #70089: runtime/mainthread: add mainthread.Do (00:07:27)Chapter 6: #83304: cmd/trace, cmd/compile, runtime: support value profiling for slice growth optimization (00:09:48)Chapter 9: #83285: x/crypto/acme: add Client.FinalizeOrder (00:13:04)Chapter 10: #63477: go/types: add an importer function adapter (00:14:29)Chapter 11: #82929: mime: refresh builtinTypes (00:15:50)Epilogue (00:16:45)Host: Kris BrandowProducer: Kris BrandowBeats: Breakmaster CylinderSocials:WebsiteBlueskyThreadsX/TwitterLinkedInInstagramTikTokChangelog ZulipGophers Slack ★ Support this podcast ★
Welcome to Continue: Go Proposals edition! This week we're talking about cgo's default behavior, HTTP Structured Field Values, and some additions to net/netip. As always, we have supporter-only bonus discussions, proposals to keep an eye on, and some hidden gem proposals.Proposals to Keep an Eye On:#79043: crypto/tls: Profiles#82402: crypto/tls: support UPKI revocation checking#82173: net/http, mime/multipart: better control over form parsing#83009: simd, simd/archsimd: portable and architecture-specific SIMDProposals Discussed:#83185: set CGO_ENABLED to bindings by default#41046: net/http: add support for Structured Field Values for HTTP#81994: net/netip: add netip.Addr.To6()#82734: unicode/ascii: new package with common ASCII string functions [Continued]#82451: cmd/go: help output should use a pager [Continued]Hidden Gem Proposals:#53364: x/image/webp: add animation support to the decoder#73402: go/types: add TypeAndValue.IsConstant#68769: runtime: expose the internal/runtime/sys.Prefetch intrinsicIf you prefer to watch this episode, you can view it on YouTube: https://youtu.be/q_bg5Ss9mi0.Thanks for tuning in and happy listening!Table of Contents:Prologue (00:00:00)Chapter 1: Proposals to Keep an Eye On (00:00:58)Chapter 2: #83185: set CGO_ENABLED to bindings by default (00:04:49)Chapter 3: #41046: net/http: add support for the upcoming "Structured Field Values for HTTP" RFC (00:09:04)Chapter 4: #81994: net/netip: add netip.Addr.To6() (00:13:02)Chapter 7: Hidden Gem Proposals (00:15:36)Epilogue (00:17:44)Host: Kris BrandowProducer: Kris BrandowBeats: Breakmaster CylinderSocials:WebsiteBlueskyThreadsX/TwitterLinkedInInstagramTikTokChangelog ZulipGophers Slack ★ Support this podcast ★
Welcome to Continue, Go Proposals edition! This week, Kris explores the fresh proposal to start bringing the SIMD packages out of the experimental phase, adding initializer statements to case switches, and a proposal to add yet another Append API, this time from error types. Along with those we've got a bonus discussion around a decimal-exponent floating-point decimal type and our usual proposals to keep an eye on and hidden gem proposals.Proposals to Keep an Eye On#82690: GODEBUG=vetfiles to guard support for go.vet-file specified analyzers in go test#82465: go/analysis: publish x/tools/go/analysis types in the standard library#60994: go/types: add func CommonUnderlying(Type) Type (formerly CoreType)#73395: go/ast: add FieldList.Fields() iter.Seq2[*Ident, *Field]Proposals Discussed#83009: simd, simd/archsimd: portable and architecture-specific SIMD#82915: spec: support initializer statements in switch cases#83013: fmt: ErrorAppender interface#82668: math/decimal: decimal-exponent floating-point arithmetic [Continued]Hidden Gem Proposals#82946: x/crypto/acme: support ML-DSA account keys#83051: mime/multipart: add Reader.Reset and Reader.ReuseParts#63361: math/rand/v2: PCG JumpIf you prefer to watch this episode, you can view it on YouTube: https://youtu.be/AVPZoolQba4.Thanks for tuning in and happy listening!Table of Contents:Prologue (00:00:00)Chapter 1: Proposals to Keep an Eye On (00:01:00)Chapter 2: #83009: simd, simd/archsimd: portable and architecture-specific SIMD (00:05:22)Chapter 3: #82915: spec: support initializer statements in switch cases (00:08:33)Chapter 4: #83013: fmt: ErrorAppender interface (00:12:59)Chapter 6: Hidden Gem Proposals (00:19:54)Epilogue (00:23:10)Host: Kris BrandowProducer: Kris BrandowBeats: Breakmaster CylinderSocials:WebsiteBlueskyThreadsX/TwitterLinkedInInstagramTikTokChangelog ZulipGophers Slack ★ Support this podcast ★
Welcome to Continue: Go Proposals edition! Each edition of this show will handle a specific topic that can be covered continuously. This edition is for Go Proposals. Each week Kris and Matt will cover proposals they think you should keep an eye on, some hidden gem proposals that should be getting more attention, and some proposals that deserve some more discussion. Our goal is to provide you with a way to stay on top of what's happening in the Go ecosystem without having to dig through the proposal issue queue yourself.Proposals to Keep an Eye On:#80590: collection/...: generic collection types#75800: x/tools/go/analysis/analysistest: support expectations for related information#78995: x/tools/go/ast/inspector: add Cursor.Unparen{,Enclosing} methods#81822: spec: ignore channel direction during loose unificationProposals Discussed:#82717: net: Disable MPTCP by default#82759: x/net/webdav: add NewRootFS for symlink-confined serving via os.Root#82785: runtime/bubble: add host-controlled deterministic execution#82535: crypto/cobblestone: new package [Continued]#80913: unsafe: add SliceIndex [Continued]Hidden Gem Proposals:#57061: reflect: add Value.SetMapIndexOf#82742: x/tools/go/analysis/passes: publish analyzers currently internal to gopls#82866: net/http/pprof: use standard HTTP status codes for profiling errorsIf you prefer to watch this episode, you can view it on YouTube: https://youtu.be/aeGBsAAQo5w.Thanks for tuning in and happy listening!Table of Contents:Prologue (00:00:00)Chapter 1: Proposals to Keep an Eye On (00:01:06)Chapter 2: #82717: net: Disable MPTCP by default (00:05:03)Chapter 3: #82759: x/net/webdav: add NewRootFS for symlink-confined serving via os.Root (00:07:10)Chapter 4: #82785: runtime/bubble: add host-controlled deterministic execution (00:08:22)Chapter 7: Hidden Gem Proposals (00:11:46)Epilogue (00:14:54)Host: Kris BrandowProducer: Kris BrandowBeats: Breakmaster CylinderSocials:WebsiteBlueskyThreadsX/TwitterLinkedInInstagramTikTokChangelog ZulipGophers Slack ★ Support this podcast ★