Skip to content
Proyek

Tentang

📝 Go: Sebuah Dokumenter | https://golang.design/history

Proyek lainnya

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
-1

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Go: A Documentary

by Changkun Ou <changkun.de> (and many inputs from contributors)

This document collects many interesting (publicly observable) issues, discussions, proposals, CLs, and talks from the Go development process, which intends to offer a comprehensive reference of the Go history.

Table of Contents


Disclaimer

  • Most of the texts are written as subjective understanding based on public sources
  • Factual and typo errors may occur. Referring to the original link if some text conflicts to your understanding
  • PRs are very welcome for new content submission, bug fixes, and typo fixes
  • Use Issues for discussions

Back To Top

Sources

There are many sources for digging the documents that relate to Go's historical design, and here are some of the official sources:

Back To Top

Origin

Go is a big project driven by a tiny group of people and the crowd of wisdom from the language user community. Here are some core committers to the project if you are interested in following their excellent work.

Go's origin is attractive without doubts. By listening to the talks held by these people, you could learn more about their oral history and fun stories behind the great work.

For instance, here are some exciting talks regarding the historical feats in Go might be your starting points (as a subjective recommendation): talk/rob2007, talk/rob2009, talk/rob2010b, talk/rob2010d, talk/rob2011a, talk/rob2013a, talk/rob2019, talk/robert2015, talk/russ2014, steve2019b, etc.

Back To Top

Committers

Core Authors

The Go language was created by Rob, Robert, and Ken initially because Rob was bothered by slow C++ compiling times, talked to Robert, and luckily Ken was in the next office. Later, Ian joined the project after showing interest, and wrote the gccgo. Rob and Ken are retired. Robert and Ian worked together for years on adding generics to Go, which shipped in Go 1.18 in 2022; Robert still works on the language and its type checker. Ian left Google in May 2025 and has kept contributing to Go since. Russ is also one of the core authors of the project in the early stage. Back then, he was a newcomer at Google, and Rob invited Russ for joining the Go team since he knew Russ from way back because of the Plan 9 project. Russ worked on the early Go compiler, runtime, as well as the leap of Go 1.5 bootstrap. Russ led the Go project for over 12 years. In August 2024 he passed the torch: since September 1, 2024, Austin Clements has been the tech lead of Go, and Cherry Mui leads Go core (the compiler toolchain, runtime, and releases). Russ stayed on the project, turning to Gaby and Oscar, tools that help maintainers work through the issue tracker.

Back To Top

Compiler/Runtime Team

Dmitry is not from the Go team but on the dynamic testing tools team from Google. He wrote the scalable goroutine scheduler, many other performance improvements, synchronization primitives, race detector, and blocking profiler that related to the Go runtime. Austin was an intern at Google who worked on the Go project in the early days while pursuing a Ph. D. Later, he joined the Go team after his academic career and work together with Rick for the Go's concurrent GC. He also worked on the current preemptive scheduler and linker. Now, he is leading the Compiler/Runtime team for Go. Keith and David together focus on the Go's compiler backend, notably the current SSA backend. Michael is a recent newcomer to the Go team, his work is mainly in the runtime memory system such as the refactoring of memory allocator and runtime metrics.

  • Dmitry Vyukov. (Дмитрий Вьюков, M. Sc.) Website, GitHub, Twitter

    • Alma mater: Bauman Moscow State Technical University
    • talk/dmitry2014 Writing a functional, reliable and fast web application in Go. Sep 25, 2014.
    • talk/dmitry2015a Chat with Dmitry Vyukov on go-fuzz, golang and IT security. Jul 3, 2015
    • talk/dmitry2015b Go Dynamic Tools. GopherCon 2015. Jul 28, 2015.
    • talk/dmitry2016 Dmitry Vyukov Interview. Jun 1, 2016.
    • talk/dmitry2017 Fuzzing: The New Unit Testing. C++ Russia 2017. May 10, 2017.
    • talk/dmitry2018a Fuzzing: new unit testing. GopherCon Russia. Apr 2, 2018.
    • talk/dmitry2018b Syzbot and the Tale of Thousand Kernel Bugs. Sep 1, 2018.
    • talk/dmitry2019 Go scheduler: Implementing language with lightweight concurrency. Oct 14, 2019.
    • talk/dmitry2020 syzkaller: Adventures in Continuous Coverage-guided Kernel Fuzzing. BlueHat IL 2020. Feb 13, 2020.
  • Austin Clements. (Dr. Austin T. Clements) (Go tech lead since September 2024) GitHub, Scholar

    • Alma mater: MIT
    • paper/autin2014 The Scalable Commutativity Rule: Designing Scalable Software for Multicore Processors. Doctor Dissertation. May 21, 2014.
    • talk/austin2020 Pardon the Interruption: Loop Preemption in Go 1.14. Nov 12, 2020.
    • doc/15years Austin Clements. Go Turns 15. November 11, 2024.
    • doc/16years Austin Clements. Go’s Sweet 16. November 14, 2025.
  • Richard Hudson. (Richard L. Hudson, M. Sc.) GitHub (Retired)

    • Alma mater: University of Massachusetts Amherst
    • paper/rick Research List
    • talk/rick2015a Go GC: Solving the Latency Problem. GopherCon 2015. Jul 8, 2015.
    • talk/rick2015b Rick Hudson on Garbage Collection in Go. Dec 21, 2015.
  • Keith Randall. (Dr. Keith H. Randall.) GitHub

    • Alma mater: MIT
    • paper/1998keith Cilk: Efficient Multithreaded Computing. Doctor Dissertation. May 21, 1998.
    • talk/keith2016 Inside the Map Implementation. GopherCon 2016. Jul 12, 2016.
    • talk/keith2017 Generating Better Machine Code with SSA. GopherCon 2017. Jul 24, 2017.
    • talk/keith2024 Interface Internals. GopherCon 2024
  • David Chase. (Dr. David Chase) Website, Block, GitHub, Twitter, Scholar

    • Alma mater: Rice University
    • paper/1987david Garbage Collection and Other Optimizations. Doctor Dissertation. Aug 1987.
    • talk/david2017 All About The Go Compiler. Jul 20, 2017.
  • Dan Scales.

  • Michael Knyszek. Website, GitHub

    • talk/michael2020 Evolving the Go Memory Manager's RAM and CPU Efficiency. Nov 11, 2020
    • talk/michael2025 Advancing Go Garbage Collection with Green Tea. GopherCon 2025, New York City. August 2025.
  • Than McIntosh. GitHub

  • Cherry Mui (formerly Cherry Zhang). (Go core lead since September 2024) GitHub

Back To Top

Library/Tools/Release/Security/Community

more people and talks should be added...

Back To Top

Group Interviews

Back To Top

Timeline

A timeline helps you identify the point in time about a document that is reflected in Go versions.

For what changed in the runtime and compiler in each of these releases, including internal changes that release notes leave out, see the runtime and compiler history reconstructed from commits (Go 1.0 to 1.28). Its paths not taken page collects work that was built or designed but never landed in that form, such as the request-oriented collector and lock-free channels, with the reasons each one stopped.

Version Release Expected/Actual Date Days Since Last Release (+Delay)
Go 1 - / 2012.03.28 -
Go 1.1 - / 2013.05.13 440
Go 1.2 - / 2013.12.01 202
Go 1.3 - / 2014.06.18 199
Go 1.4 - / 2014.12.10 175
Go 1.5 2015.07.31 / 2015.08.19 252 (+19)
Go 1.6 2016.01.31 / 2016.02.17 182 (+17)
Go 1.7 2016.07.31 / 2016.08.15 180 (+15)
Go 1.8 2017.01.31 / 2017.02.16 185 (+16)
Go 1.9 2017.07.31 / 2017.08.24 189 (+24)
Go 1.10 2018.01.31 / 2018.02.16 176 (+16)
Go 1.11 2018.07.31 / 2018.08.24 189 (+24)
Go 1.12 2019.01.31 / 2019.02.25 185 (+25)
Go 1.13 2019.07.31 / 2019.09.03 190 (+34)
Go 1.14 2020.01.31 / 2020.02.25 175 (+25)
Go 1.15 2020.07.31 / 2020.08.11 168 (+11)
Go 1.16 2021.01.31 / 2021.02.16 189 (+16)
Go 1.17 2021.07.31 / 2021.08.16 181 (+16)
Go 1.18 2022.01.31 / 2022.03.15 196 (+43)
Go 1.19 2022.07.31 / 2022.08.02 140 (+2)
Go 1.20 2023.01.31 / 2023.02.01 183 (+1)
Go 1.21 2023.07.31 / 2023.08.08 188 (+8)
Go 1.22 2024.01.31 / 2024.02.07 184 (+7)
Go 1.23 2024.07.31 / 2024.08.14 189 (+14)
Go 1.24 2025.01.31 / 2025.02.12 182 (+12)
Go 1.25 2025.07.31 / 2025.08.12 181 (+12)
Go 1.26 2026.01.31 / 2026.02.10 182 (+10)
Go 1.27 2026.07.31 / 2026.08.19 190 (+19)

The historical release notes may helpful for general information:

Back To Top

Language Design

General

  • design/go0initial Rob Pike, Robert Griesemer, Ken Thompson. The Go Annotated Specification. Mar 3, 2008.
  • design/go0spec0 The Go Programming Language. Language Specification. Mar 7, 2008.
  • design/go0semicolon Rob Pike. Semicolons in Go. Dec 10, 2009.
  • design/go11func Russ Cox. Go 1.1 Function Calls. February 2013
  • design/go11return Russ Cox. Go “Return at End of Function” Requirements. March 2013
  • design/go12nil Russ Cox. Go 1.2 Field Selectors and Nil Checks. July 2013.
  • doc/go13todo Go 1.3 “To Do” List. Jun 1, 2014.
  • doc/goatgoogle Rob Pike. Go at Google - Language Semantics. October 25, 2012.
  • doc/makego Andrew Gerrand. How Go was Made. July 9, 2015.
  • discuss/go1preview Russ Cox. Go 1 Preview. 2011.
  • design/overlapping-interfaces Robert Griesemer. Proposal: Permit embedding of interfaces with overlapping method sets. Oct 16, 2019.
    • issue/6977 spec: allow embedding overlapping interfaces
  • design/struct-conversion Robert Griesemer. Proposal: Ignore tags in struct type conversions. June 16, 2016.
    • issue/16085 Proposal: Ignore tags in struct type conversions
  • design/go2trans Ian Lance Taylor. Proposal: Go 2 transition. October 15, 2018
  • design/signed-int-shift Robert Griesemer. Proposal: Permit Signed Integers as Shift Counts for Go 2. January 17, 2019
    • issue/19113 proposal: spec: allow signed shift counts
  • design/number-literal Russ Cox, Robert Griesemer. Proposal: Go 2 Number Literal Changes. March 6, 2019
    • issue/12711 proposal: different octal base literal representation
    • issue/19308 proposal: spec: binary integer literals
    • issue/28493 proposal: permit blank (_) separator in integer number literals
    • issue/29008 proposal: Go 2: hexadecimal floats
  • discuss/delete-return why delete() doesn't return a bool ?
    • issue/5147 runtime: consider caching previous map hash value
    • issue/51405 proposal: Go 2: builtin: delete should return the deleted map item
  • issue/33502 proposal: review meeting minutes
  • issue/33892 proposal: Go 2 review meeting minutes
  • issue/19623 proposal: spec: change int to be arbitrary precision
  • design/unsafearithmetic Matthew Dempsky. Go 1.4: unsafe.Pointer arithmetic. Aug 2014.
  • issue/19367 unsafe: add Slice(ptr *T, len anyIntegerType) []T
  • issue/40481 unsafe: add Add function
  • issue/53003 unsafe: add StringData, String, SliceData
  • issue/43615 proposal: weak reference maps
  • issue/48105 spec: clarify sequencing of function calls within expressions
  • issue/56351 proposal: spec: add delete(m) to clear map
  • issue/58233 proposal: spec: define return statement's result assignment order?
  • issue/57616 proposal: spec: add simple string interpolation similar to Swift
  • issue/57411 proposal: spec: define initialization order more precisely
  • issue/56103 spec: disallow anonymous interface cycles
  • issue/25448 spec: guarantee non-nil return value from recover
  • issue/61372 proposal: spec: add untyped builtin zero
  • issue/56351 spec: add clear(x) builtin, to clear map, zero content of slice
  • issue/58625 unsafe: allow conversion of uintptr to unsafe.Pointer when it points to non-Go memory
  • discuss/48305 doc comment revisions: headings, lists, and links
  • issue/12445 spec: clarify how unsafe.Pointers may be used to determine offsets between addresses
  • issue/45624 spec: expression to create pointer to simple types (new(expr) in Go 1.26)
  • issue/46505 spec: allow conversion from slice to array
  • issue/9859 spec: direct reference to embedded fields in struct literals

Back To Top

Slice (1.2)

Back To Top

Package Management (1.4, 1.5, 1.7)

Back To Top

Type alias (1.9)

  • design/type-alias Russ Cox, Robert Griesemer. Proposal: Type Aliases. December 16, 2016
    • talk/type-alias GopherCon 2016 - Lightning Talk: Robert Griesemer - Alias Declarations for Go, A proposal. Oct 9, 2016
    • issue/16339 proposal: Alias declarations for Go
    • issue/18130 all: support gradual code repair while moving a type between packages
  • talk/refactor-video Russ Cox. Codebase Refactoring (with help from Go). GothamGo 2016. November 18, 2016.
    • doc/refactor Russ Cox. Codebase Refactoring (with help from Go).
  • design/alias-decls Robert Griesemer & Rob Pike. Proposal: Alias declarations for Go. July 18, 2016.
  • issue/76472 remove gotypesalias, asynctimerchan GODEBUG flag for 1.27
  • issue/17487 cmd/compile: support alias
  • issue/67547 go/types, types2: audit type assertions for potential Alias bugs
  • issue/65294 x/tools: get tests passing with GODEBUG=gotypesalias=1
  • doc/alias-names Robert Griesemer. What's in an (Alias) Name? September 17, 2024.

Back To Top

Defer (1.14)

  • design/open-defer Dan Scales, Keith Randall, and Austin Clements. Proposal: Low-cost defers through inline code, and extra funcdata to manage the panic case. 2019-09-23
  • Unsolved defer recover() edge cases.
    • issue/10458 spec: panicking corner-case semantics
    • issue/23531 spec: recover() in nested defer
    • issue/26275 runtime: document the behaviour of Caller and Callers when used in deferred functions
    • issue/34530 spec: clarify when calling recover stops a panic
    • cl/189377 spec: specify the behavior of recover and recursive panics in more detail
  • issue/34481 cmd/compile, runtime: a design for low-cost defers via inline code

Back To Top

Error values

Error handling includes two separate works: error values and error formatting. Historically, there was a try proposal that had been investigated for a year, however, due to its lack of simplicity and impact to stack tracing, it was rejected. In 1.13, error values received a large revision, and the package errors includes different APIs, such as errors.Is. Until recently (1.21), #53435 allows wrapping multiple errors, and there is a community repository that tries to implement the original try proposal.

  • doc/err2011 Andrew Gerrand. Error handling in Go. July 2011.
  • doc/err-values Rob Pike. Errors are values. January 2015.
  • doc/err-philosophy Dave Cheney. My philosophy for error handling. April 2016.
  • doc/err-gracefully Dave Cheney. Don’t just check errors, handle them gracefully. April 2016.
  • doc/err-stacktrace Dave Cheney. Stack traces and the errors package. June, 12 2016.
  • doc/err-upspin Rob Pike. Error handling in Upspin. December 06, 2017.
  • doc/err-work Damien Neil and Jonathan Amsterdam. Working with Errors in Go 1.13. October 17, 2019.
  • design/err-handling-overview Russ Cox. Error Handling — Problem Overview.
  • doc/err-value-faq Jonathan Amsterdam and Bryan C. Mills. Error Values: Frequently Asked Questions. August 2019.
  • design/err-handle-check Marcel van Lohuizen. Error Handling — Draft Design. August 27, 2018.
  • design/err-try Robert Griesemer. Proposal: A built-in Go error check function, "try". Jun 12, 2019.
    • issue/32437 Proposal: A built-in Go error check function, "try". Decision response.
  • issue/71203 proposal: spec: reduce error handling boilerplate using ?
  • design/err-inspect Jonathan Amsterdam, Damien Neil. Error Inspection — Draft Design. August 27, 2018.
  • design/err-values-overview Russ Cox. Error Values — Problem Overview. August 27, 2018.
  • design/error-values Jonathan Amsterdam, Russ Cox, Marcel van Lohuizen, Damien Neil. Proposal: Go 2 Error Inspection. January 25, 2019
    • issue/29934 Jonathan Amsterdam. proposal: Go 2 error values. Jan 25, 2019.
    • issue/29934-decision Damien Neil. Go 1.13 lunch decision about error values. May 6, 2019.
    • issue/29934-russ Russ Cox. Response, Response regarding "proposal: Go 2 error values". May 7, 2019.
  • design/err-print Marcel van Lohuizen. Error Printing — Draft Design. August 27, 2018.
  • issue/40432 language: Go 2: error handling meta issue
  • issue/40776 proposal: dynamic ignored error detector
  • issue/41198 proposal: errors: add ErrUnimplemented as standard way for interface method to fail.
  • issue/47811 proposal: errors: add Errors as a standard way to represent multiple errors as a single error
  • issue/53435 proposal: wrapping multiple errors
  • repo/try Try: Simplified Error Handling in Go
  • discuss/71460 Ian Lance Taylor. discussion: spec: reduce error handling boilerplate using ? January 27, 2025.

Back To Top

Channel/Select

  • design/lockfree-channels Dmitry Vyukov. Go channels on steroids. Jan 28, 2014
  • issue/8898 runtime: special case timer channels
    • issue/61542 time: stop requiring Timer/Ticker.Stop for prompt GC
  • issue/9120 runtime: remove implementation restriction on channel element size
  • issue/37196 time: make Timer/Ticker channels not receivable with old values after Stop or Reset returns
  • issue/8903 runtime: make chan-based generators faster.
  • issue/21806 fairness in select statement.
  • issue/40410 runtime: trim unnecessary fields from scase
  • issue/40641 runtime: race between stack shrinking and channel send/recv leads to bad sudog values
  • issue/37350 reflect: Select panics if array length greater than 1<<16
  • doc/no-err-syntax Robert Griesemer. [ On | No ] syntactic support for error handling. June 2025.

Back To Top

Generics

  • doc/generics-discuss Summary of Go Generics Discussions
  • doc/generics-dilemma Russ Cox. The Generic Dilemma. December 3, 2009.
  • design/type-functions Ian Lance Taylor. Type Functions. June 2010.
  • design/generalized-types Ian Lance Taylor. Generalized Types. March 2011.
  • design/code-gen Russ Cox. Alternatives to Dynamic Code Generation in Go. September 2012.
  • design/generalized-types2 Ian Lance Taylor. Generalized Types In Go. October 2013.
  • design/type-parameters Ian Lance Taylor. Type Parameters in Go. December 2013.
  • design/compile-time-function Bryan C. Mills. Compile-time Functions and First Class Types. September 2016.
  • design/should-generics Ian Lance Taylor. Go should have generics. January 2011.
  • design/should-generics2 Ian Lance Taylor. Go should have generics. Updated: April 2016.
    • issue/15292 proposal: spec: generic programming facilities
  • design/generics-overview Russ Cox. Generics — Problem Overview. August 27, 2018.
  • design/contracts Ian Lance Taylor, Robert Griesemer. Contracts — Draft Design. August 27, 2018, Updated: July 31, 2019.
  • design/type-parameters2 Ian Lance Taylor, Robert Griesemer. Type Parameters - Draft Design. June 16, 2020, Updated: August 28, 2020.
  • discuss/generics-parenthesis Robert. Generics and parenthesis.
  • discuss/generics-move Ian, Moving forward with the generics design.
  • discuss/generics-implementation Implementing Generics
  • design/generics-implementation-stenciling Generics implementation - Stenciling
  • design/generics-implementation-dictionaries Generics implementation - Dictionaries
  • design/generics-implementation-gcshape Generics implementation - GC Shape Stenciling
  • design/generics-implementation-dictionaries-go1.18 Go 1.18 Implementation of Generics via Dictionaries and Gcshape Stenciling
  • issue/43651 proposal: spec: add generic programming using type parameters
  • design/type-parameters3 Type Parameters Proposal
  • issue/45346 proposal: spec: generics: use type sets to remove type keyword in constraints
  • issue/46477 proposal: spec: generics: type parameters on aliases
  • issue/38907 proposal: spec: disallow impossible interface-interface type assertions
  • discussion/48287 how to update APIs for generics
  • Generics behavior
    • issue/48274 doc: update FAQ for the arrival of parametric polymorphism
    • issue/50202 spec: document that type parameters are not permitted as constant declaration types
    • issue/50272 spec: function type inference ignores type parameter constraints
    • issue/50954 go/types, types2: review error messages
    • issue/51110 spec: document behavior of type switches containing type parameter cases
    • any/comparable
      • issue/33232 spec: allow 'any' for 'interface{}' in non-constraint contexts
      • issue/46746 reflect: add Value.Equal, Value.Comparable
      • issue/49587 proposal: spec: add comparable w/o interfaces
      • issue/49927 builtin: add documentation for any and comparable to pseudo-package builtin
      • issue/49884 all: rewrite interface{} to any
      • issue/50646 spec: document/explain which interfaces implement comparable
      • issue/50646 spec: document definition of comparable
      • issue/51257 spec: any no longer implements comparable
      • issue/51338 proposal: spec: permit values to have type "comparable"
      • issue/52474 proposal: spec: permit non-interface types that support == to satisfy the comparable constraint
      • issue/52509 proposal: spec: allow interface types to instantiate comparable type parameters
      • issue/52531 proposal: spec: add new constraint kind satisfied by types that support == (including interface types)
      • issue/52614 proposal: type parameters are comparable unless they exclude comparable types
      • issue/52624 proposal: the comparable interface represents the comparable subset of run-time values
  • Standard packages using generics
    • issue/45458 constraints: new package to define standard type parameter constraints
    • discuss/47319 proposal: constraints: new package to define standard type parameter constraints (discussion)
    • issue/45955 slices: new package to provide generic slice functions
    • discuss/47203 proposal: slices: new package to provide generic slice functions (discussion)
    • discuss/47331 proposal: container/set: new package to provide a generic set type (discussion)
    • discuss/47330 proposal: maps: new package to provide generic map functions (discussion)
    • issue/47649 maps: new package to provide generic map functions
    • issue/57436 maps: new standard library package based on x/exp/maps
    • issue/47657 proposal: sync, sync/atomic: add PoolOf, MapOf, ValueOf
    • issue/50792 constraints: move to x/exp for Go 1.18
    • issue/53427 proposal: x/sync/singleflight: add generic version
  • Related packages
    • issue/47781 go/ast, go/token: additions to support type parameters
    • issue/47916 go/types: additions to support type parameters
    • issue/48525 x/tools/go/ssa: generics support
    • issue/50887 go/types, types2: document predicates on generic types
  • issue/52654 spec: provide some way to refer to a generic function without instantiation
  • issue/59488 cmp: new package with Ordered, Compare, Less; min, max as builtins
  • issue/60648 cmp: document ordering for floating point values in cmp.Ordered
  • issue/59531 all: ordering numeric values, including NaNs, and the consequences thereof
  • issue/60519 math: remove Compare, Compare32
  • issue/58650 spec: a general approach to type inference
  • issue/59338 spec: infer type arguments from assignments of generic functions (reverse type inference)
  • issue/58671 spec: type inference should be more lenient about untyped numeric literals
  • issue/57644 proposal: spec: sum types based on general interfaces
  • issue/70128 spec: remove notion of core types
    • issue/60994 proposal: go/types: add func CommonUnderlying(Type) Type, (formerly CoreType)
  • issue/56548 spec: allow basic interface types to instantiate comparable type parameters
  • design/parameterized-go-types Rob Findley, Robert Griesemer. Additions to go/types to support type parameters. 2021-08-17.
  • issue/12854 spec: type inferred composite literals
    • issue/77245 spec: function type inference should work in all assignment contexts
  • issue/61035 go/types, types2: fix SizesFor("gc", ...) to match actual gc behavior
  • issue/52728 go/types: guarantee that a finite number of distinct instances are reachable via the API
  • issue/57192 spec: interfaces that have different-size method sets never unify (but they possibly could)
  • issue/63974 go/types, types2: switch to using go/version once we can use it in the compiler
  • issue/51343 go/types, types2: simplify type-checking of method receivers with type parameters
  • issue/55326 go/types, types2: remove discrepancy between type-checker and compiler error messages
  • issue/54511 types2, go/types: share tests
  • issue/69673 go/types: position-independent type checking
  • issue/57410 cmd/compile: remove GOEXPERIMENT=nounified
  • issue/68778 exportdata: support type parameterized aliases

Back To Top

  • issue/60353 spec: when unifying against interface types, consider common methods
  • issue/57433 slices: new standard library package based on x/exp/slices
  • issue/51259 proposal: spec: support for struct members in interface/constraint syntax
  • issue/50285 proposal: generic should infer type from variable definition
  • issue/66651 proposal: spec: variadic type parameters
  • issue/47796 types2, go/types: self-referential type parameter list is not accepted (allowed in Go 1.26)
    • issue/52190 proposal: generics: self referencing type constraints
  • issue/75526 proposal: allow type parameters on methods (generic methods)
  • doc/comparable Robert Griesemer. All your comparable types. February 17, 2023.
  • doc/deconstructing-type-parameters Ian Lance Taylor. Deconstructing Type Parameters. September 26, 2023.
  • doc/type-inference Robert Griesemer. Everything You Always Wanted to Know About Type Inference - And a Little Bit More. October 9, 2023.
  • doc/generic-slice-functions Valentin Deleplace. Robust generic functions on slices. February 22, 2024.
  • doc/coretypes Robert Griesemer. Goodbye core types - Hello Go as we know and love it! March 26, 2025.
  • doc/generic-interfaces Axel Wagner. Generic interfaces. July 7, 2025.
  • issue/75883 spec: remove cycle restriction for type parameters
  • doc/type-construction Mark Freeman. Type Construction and Cycle Detection. March 24, 2026.
  • doc/generic-methods Mark Freeman. Generic Methods. August 26, 2026.
  • talk/axel2024 Axel Wagner. Advanced Generics Patterns. GopherCon 2024, Chicago. July 2024.

Iterator

Back To Top

Compatibility

  • doc/go1compat Go 1 and the Future of Go Programs
  • discussion/55090 extending Go backward compatibility
  • discussion/55092 extending Go forward compatibility
  • issue/33791 proposal: add explicit decision doc for large changes
  • issue/28221 cmd/go, cmd/compile: record language version to support language transitions
  • issue/31793 go/types, types2: provide configuration support for different language versions
  • doc/compat Russ Cox. Backward Compatibility, Go 1.21, and Go 2. August 14, 2023.
  • doc/toolchain Russ Cox. Forward Compatibility and Toolchain Management in Go 1.21. August 14, 2023.
  • issue/65573 cmd/go: separate default GODEBUGs from go language version
  • issue/76163 policy for removing GODEBUG flags
  • discuss/80580 Austin Clements. a more robust proposal process. July 27, 2026.

Compiler Toolchain

Office Hours

Compiler

  • code/gc0initial Ken Thompson. Go0 compiler initial version. 28 Mar 2008.
  • code/6g Rob Pike. the first complete Go0 compiler. 4 Jun 2008.
  • design/go12symtab Russ Cox. Go 1.2 Runtime Symbol Information. July 2013.
  • design/go13compiler Russ Cox. Go 1.3+ Compiler Overhaul. December 2013
  • design/go14generate Rob Pike. Go generate: A Proposal
  • design/dev.cc Russ Cox. dev.cc branch plan. Nov 2014
  • design/go15bootstrap Russ Cox. Go 1.5 Bootstrap Plan. January 2015.
  • doc/escape-analysis Dmitry Vyukov. Go Escape Analysis Flaws. Feb 10, 2015.
  • design/execmodes Ian Lance Taylor. Go Execution Modes. August, 2014 (updated January 2016)
  • design/go17ssa Keith Randall. New SSA Backend for the Go Compiler. 2/10/2015.
  • doc/compiler-optimization Compiler And Runtime Optimizations.
  • issue/6853 all: binaries too big and growing.
  • design/go19inlining David Lazar, Austin Clements. Proposal: Mid-stack inlining in the Go compiler.
  • design/go122inlining Go 1.22 inlining overhaul
  • design/dwarf-inlining Than McIntosh. Proposal: emit DWARF inlining info in the Go compiler. 2017-10-23.
    • issue/22080 cmd/compile: generated DWARF inlining info
  • issue/23109 cmd/compile: rewrite escape analysis.
  • issue/27167 cmd/compile: rename a bunch of things
  • GOEXPERIMENT=checkptr
  • issue/37121 runtime: unaligned jumps causing performance regression on Intel
  • issue/16798 proposal: cmd/compile: add tail call optimization for self-recursion only. (declined)
  • issue/22624 proposal: Go 2: add become statement to support tail calls (declined)
  • design/64align Dan Scales. Proposal: Make 64-bit fields be 64-bit aligned on 32-bit systems, add //go:packed, //go:align directives. 2020-06-08.
    • issue/599 cmd/compile: make 64-bit fields 64-bit aligned on 32-bit systems
    • issue/36606 proposal: cmd/compile: make 64-bit fields be 64-bit aligned on 32-bit systems, add //go:packed directive on structs
    • issue/19057 proposal: runtime: add AlignedN types that can be used to increase alignment
  • talk/gccgo Brief overview of gccgo, "the other" Go compiler. Aug 6, 2015.
  • issue/54534 cmd/compile: design doc explaining unified IR implementation
  • discuss/53060 discussion: clarify Go support policy for secondary ports
  • issue/53383 clarify Go support policy for secondary ports
  • Profile-guided Optimization
    • paper/autofdo Chen, et al. AutoFDO: Automatic Feedback-Directed Optimization for Warehouse-Scale Applications. 2016.
    • doc/pgo Profile-guided optimization
    • issue/28262 cmd/compile: feedback-guided optimization
    • issue/55022 proposal: cmd/compile: profile-guided optimization
    • issue/55025 proposal: design and implementation of Profile-Guided Optimization (PGO)
    • design/pgo Proposal: profile-guided optimization
    • design/pgo-implementation Design and Implementation of Profile-Guided Optimization (PGO) for Go
    • issue/62463 cmd/compile: PGO opportunities umbrella issue
    • talk/pgo Michael Pratt, Boost application performance with profile guided optimization, GopherConUK 2024
  • Toolchain Telemetry
  • discuss/reducing-gc-peak-memory Reducing gc peak memory use (golang-dev)
  • discuss/bug-in-new-amd64 Bug in new amd64 ABI (golang-dev)
  • issue/51225 cmd/compile: require build systems to specify -importcfg
  • issue/18616 math/bits: an integer bit twiddling library
  • issue/74299 runtime, cmd/compile: add runtime.freegc and runtime.freegcTracked to reduce GC work (GOEXPERIMENT=runtimefreegc)
  • issue/62737 cmd/compile: merge temporaries and named variables by GC shape
  • discuss/jump-tables-in-6a Jump Tables in 6a (golang-nuts)
  • issue/61515 testing: add testing.B.Loop for iteration
  • discuss/get-rid-of-stack get rid of stack check prolog (golang-nuts)
  • discuss/fused-multiply-add Fused multiply-add? (golang-dev)
  • discuss/rfc-go-assembly-for [RFC] Go assembly for ARM64 (golang-dev)
  • discuss/x86-asm-source-of x86 asm source of truth (golang-dev)
  • issue/71105 cmd/compile: change GORISCV64=rva20u64 to include compressed instructions
  • issue/46229 all: port to linux/loong64
  • design/wasmexport Francesco Guardiani. Proposal: go:wasmexport directive. 2020-12-17.
    • issue/42372 proposal: cmd/compile: go:wasmexport directive
  • issue/60072 cmd/go: add GOMIPS32, GOMIPS64 ISA levels (iii, r1, r2, r5, r6)
  • issue/73787 simd/archsimd: architecture-specific SIMD intrinsics under a GOEXPERIMENT
    • issue/79781 simd/archsimd: support ARM64 SVE SIMD intrinsics under a GOEXPERIMENT
  • issue/78979 proposal: simd/archsimd: enable AMD64 architecture-specific SIMD by default
    • issue/76473 simd: rename low-level SIMD package to simd/archsimd (GOEXPERIMENT)
  • issue/13241 cmd/compile: switch to new export format
  • issue/14473 cmd/compile: investigate replacing NodeList with slice
  • issue/15756 cmd/compile: parallelize compilation
  • issue/22326 cmd/compile: incorrect package initialization order for spec example
  • issue/19683 cmd/compile: eliminate base.Pos and ir.CurFunc
  • issue/51691 cmd/compile: remove support for "broken" IR and types
  • issue/60234 cmd/compile: update compiler's PGO profile
  • issue/15734 cmd/go: build dependent packages as soon as export data is ready
  • issue/51734 cmd/compile: cleanup code paths that aren't needed now that -p is required
  • issue/17583 cmd/compile: insert write barriers in SSA
  • issue/19361 cmd/compile: Devirtualize calls when concrete type behind interface is statically known
  • issue/33981 cmd/compile: improve escape analysis fidelity
  • issue/15561 cmd/compile: support inlining non-escaping closures
  • issue/30810 cmd/compile: rewrite rulegen to not generate plaintext Go code directly
  • issue/71359 cmd/compile: avoid allocs by better tracking of literals for interface conversions and make
  • issue/8618 runtime: don't allocate for non-escaping conversions to interface{}
  • issue/61502 cmd/compile: overhaul inliner
  • issue/78633 cmd/compile: do bitwise constant folding
  • issue/5496 cmd/compile: compile dense, pure-integer "switch" into jump table
  • issue/34381 cmd/compile: use hashing for switch statements
  • issue/73137 testing: implement b.Loop keepalive without preventing inlining, which can lead to heap allocs
  • issue/71268 cmd/compile: opt: generate conditional comparisons for || and && conditions
  • issue/75203 cmd/compile: intrinsify reflect.TypeFor
  • issue/80409 cmd/compile/internal/ssa: split into subpackages
  • issue/10587 cmd/gc: stack split check does not follow static branch prediction rules of modern CPUs
  • issue/15365 cmd/compile: ARM SSA support
  • issue/16358 cmd/compile: 386 SSA support
  • issue/16010 cmd/compile: PowerPC (LE) SSA support
  • issue/16359 cmd/compile: SSA backend for MIPS64
  • issue/18892 all: WebAssembly ("wasm") support
  • issue/16357 cmd/compile: delete the legacy compiler back end
  • issue/27532 all: port to RISC-V
  • issue/44734 cmd/asm: refactor the framework of the arm64 assembler
  • issue/44549 cmd/asm,cmd/compile,cmd/link,cmd/objdump: ppc64 ISA 3.1 support
  • issue/20104 cmd/compile: move arch-specific rewrite rules and ops into arch-specific packages
  • issue/81819 simd: unify API generation around executable spec
  • design/bce Bounds Checking Elimination.
  • discuss/checkptr Matthew Dempsky. Dynamic unsafe pointer checking available at master. golang-dev. October 17, 2019.
  • doc/pgo-preview Michael Pratt. Profile-guided optimization preview. February 8, 2023.
  • doc/pgo Michael Pratt. Profile-guided optimization in Go 1.21. September 5, 2023.
  • doc/gotelemetry Robert Findley. Telemetry in Go 1.23 and beyond. September 3, 2024.
  • issue/67111 cmd/go: add go telemetry subcommand
  • doc/allocation-optimizations Keith Randall. Allocating on the Stack. February 27, 2026.
  • doc/simd-experiment David Chase and Junyang Shao. Platform-independent SIMD in Go. September 24, 2026.
  • doc/archsimd Junyang Shao and David Chase. Arch-specific SIMD in Go. October 2, 2026.
  • talk/jin2022 Jin Lin. Profile-Guided Optimization in the Go Compiler. Lightning talk, GopherCon 2022, Chicago. October 2022.
  • talk/jin2024 Jin Lin. Automating Efficiency Improvement by Profile Guided Optimization. GopherCon 2024, Chicago. July 2024.

Back To Top

Linker

The Go Linker was written by Ken Thompson. Russ led a few more overhaul in Go 1.3. Austin led a rework to the linker together with Keith, Than, Cheery and many other brilliant brains, which was landed in Go 1.15 and Go 1.16.

  • design/go13linker Russ Cox. Go 1.3 Linker Overhaul. Nov 2013.
  • design/go116linker Austin Clements. Building a better Go linker. 2019-09-12.
  • issue/52209 cmd/compile, cmd/link: generate dwarf type info in compiler
  • design/go-dynamic-tls Alexander Musman. Proposal: Go general dynamic TLS. 2025-01-28.
    • issue/71953 proposal: runtime: support general dynamic thread local storage model
  • issue/42681 build: move GOEXPERIMENT knob from make.bash to cmd/go
  • discuss/do-we-document-the Do we document the history of .gosymtab and .gopclntab, and the differences with .symtab and .debug_line, .debug_frame? (golang-nuts)
  • discuss/presence-of-pcln-table Presence of PCLN Table in CGo binaries (golang-nuts)
  • issue/62577 cmd/link, cmd/go: emit split DWARF on darwin
  • issue/4069 cmd/ld: invoke host linker for Windows cgo build
  • issue/11799 cmd/link: compress debug info
  • issue/38485 runtime: tracking bug for ARM-based macOS and GOOS/GOARCH values
  • issue/36439 all: port to Windows/arm64
  • issue/25893 all: port to AIX/ppc64
  • issue/76038 cmd/link: rearrange compiler/linker generated data for clarity
  • issue/67401 cmd/link: lock down future uses of linkname
  • issue/26379 cmd/compile: consider using DWARF 5
  • issue/41004 cmd/link: add support for automatically generating .note.gnu.build-id
  • issue/68678 cmd/link: LC_UUID not generated by go linker, resulting in failure to access local network on macOS 15
  • issue/69536 crypto: obtain a FIPS 140-3 validation

Back To Top

Debugger

Back To Top

Race Detector

Back To Top

Tracer

Back To Top

Lock Analysis

  • issue/38029 x/build: linux-amd64-staticlockranking consistently failing
    • cl/192704 runtime: lock operation logging support
    • cl/207348 runtime: release timersLock while running timer
    • cl/207846 runtime: avoid potential deadlock when tracing memory code
    • cl/207619 runtime: static lock ranking for the runtime (enabled by GOEXPERIMENT)
    • cl/222925 cmd/go: define a build tag for any GOEXPERIMENT which is enabled
    • cl/228417 runtime: incorporate Gscan acquire/release into lock ranking order
    • cl/229480 runtime: added several new lock-rank partial order edges
    • cl/231463 runtime: add one extra lock ranking partial edge
    • cl/233599 runtime: add a lock partial order edge (assistQueue -> mspanSpecial)
    • cl/236137 runtime: add three new partial orders for lock ranking
  • issue/40677 runtime: lock held checking

Builder

  • design/go13nacl Russ Cox. Go 1.3 Native Client Support. October 2013.
  • design/gobuilder Brad Fitzpatrick. Go Builder Plan. 2014-09-03.
  • design/go14android David Crawshaw. Go support for Android. June 2014.
  • design/go-generate Rob Pike. Go Generate. January 2014.
  • issue/13560 proposal: build: define standard way to recognize machine-generated files
  • discuss/generatedcode Rob Pike's Final Comments on Issue 13560
  • design/goenv Russ Cox. Proposal: go command configuration file. March 1, 2019
    • issue/30411 proposal: cmd/go: add go env -w to set default env vars
  • design/go116build Russ Cox. Bug-resistant build constraints — Draft Design. June 30, 2020.
    • issue/41184 cmd/go: continue conversion to bug-resistant //go:build constraints
  • Windows
  • design/wasm Richard Musiol. WebAssembly architecture for Go. 28th February 2018.
  • design/wasm2 WebAssembly assembly files
  • issue/57631 build: use a zero for third digit for major release, such as 'go1.21.0'
  • issue/54265 build: adopt Go 1.20 as bootstrap toolchain for Go 1.22
  • issue/69315 build: adopt Go 1.24 as bootstrap toolchain for Go 1.26
  • doc/rebuild Russ Cox. Perfectly Reproducible, Verified Go Toolchains. August 28, 2023.
  • issue/57179 cmd/go: load $GOROOT/go.env before loading user go.env
  • issue/59719 cmd/go: add GOEXPERIMENT=cacheprog to let a child process implement the internal action/output cache
  • issue/64876 cmd/go: enable GOCACHEPROG by default
  • issue/62067 cmd/go: go build -json
  • issue/38248 cmd/compile: replace CallImport with go:wasmimport directive
  • issue/58141 all: add GOOS=wasip1 GOARCH=wasm port
  • doc/wasi Johan Brandhorst-Satzkorn, Julien Fabre, Damian Gryski, Evan Phoenix, and Achille Roussel. WASI support in Go. September 13, 2023.
  • issue/65199 cmd/compile: add go:wasmexport directive
  • design/wasmexport-notes Achille Roussel. go:wasmexport - implementation notes.
  • doc/wasmexport Cherry Mui. Extensible Wasm Applications with Go. February 13, 2025.
  • talk/johan2023 Johan Brandhorst-Satzkorn. Go Support for WASI/Wasm. Lightning talk, GopherCon 2023, San Diego. September 2023.

Back To Top

Modules

  • design/go-dep Go Packaging Proposal Process
  • design/go-dep2 Dependency Management Tool
    • doc/go-dep Sam Boyer. The Saga of Go Dependency Management. Dec 13, 201
    • talk/go-dep GopherCon 2017: Sam Boyer - The New Era of Go Package Management. Jul 24, 2017
    • talk/go-dep-design dotGo 2017 - sam boyer - The Functional Design of Dep. Dec 8, 2017
    • discuss/go-dep Building Predictability into Your Pipeline :: Russ Cox; Jess Frazelle, Sam Boyer, Pete Garcin. Feb 22, 2018
  • design/vgo Russ Cox. Proposal: Versioned Go Modules. March 20, 2018.
  • design/sumdb Russ Cox, Filippo Valsorda. Proposal: Secure the Public Go Module Ecosystem. April 24, 2019.
    • issue/25530 proposal: cmd/go: secure releases with transparency log
  • issue/23966 why go.mod has its own bespoke syntax?
  • design/lazy-gomod Bryan C. Mills. Proposal: Lazy Module Loading. Feb 20, 2020
  • issue/45713 proposal: cmd/go: add a workspace mode
  • doc/vuln Julie Qiu. Vulnerability Management for Go. September 6, 2022.
  • doc/govulncheck Julie Qiu. Govulncheck v1.0.0 is released! July 13, 2023.
  • discuss/60696 Michael Matloob. cmd/go: add package forwarding. June 8, 2023.
  • discuss/61669 Russ Cox. gonew: templates for new modules. July 31, 2023.
  • doc/gonew Cameron Balahan. Experimenting with project templates. July 31, 2023.
  • issue/48429 cmd/go: track tool dependencies in go.mod
  • design/x-repo-continuous-go Dmitri Shuralyov. Proposal: all, x/build/cmd/relui: automate go directive maintenance in golang.org/x repositories. August 27, 2024.
  • doc/pkgsite-api Ethan Lee, Hana Kim, and Jonathan Amsterdam. Introducing the pkg.go.dev API. May 21, 2026.

Back To Top

gopls

  • design/gopls-workspace Heschi Kreinick, Rebecca Stambler. Proposal: Multi-project gopls workspaces. Mar 9, 2020.
  • doc/gopls-scalability Robert Findley and Alan Donovan. Scaling gopls for the growing Go ecosystem. September 8, 2023.
  • issue/63501 x/tools/cmd/deadcode: add new command
  • doc/deadcode Alan Donovan. Finding unreachable functions with deadcode. December 12, 2023.
  • issue/61324 x/tools/go/analysis/checker: an importable analysis driver based on go/packages
  • issue/32816 cmd/fix: automate migrations for simple deprecations
  • issue/73605 cmd/fix: remove all functionality
  • issue/71859 cmd/go: fix: apply fixes from modernizers, inline, and other analyzers
  • doc/gofix Alan Donovan. Using go fix to modernize Go code. February 17, 2026.
  • doc/inliner Alan Donovan. //go:fix inline and the source-level inliner. March 10, 2026.
  • design/lsp-interactive-refactoring Hongxiang Jiang. Proposal: Language Server Protocol (LSP) Interactive Code Actions. July 16, 2026.
  • doc/interactive-refactoring Hongxiang Jiang. Interactive refactoring in gopls. October 16, 2026.

Back To Top

Testing, x/perf

  • design/subtests Marcel van Lohuizen. testing: programmatic sub-test and sub-benchmark support. September 2, 2015.
    • issue/12166 proposal: testing: programmatic sub-test and sub-benchmark support
  • design/gotest-bench Russ Cox, Austin Clements. Proposal: Go Benchmark Data Format. February 2016.
    • issue/14313 cmd/go: decide, document standard benchmark data format
  • issue/20875 testing: consider calling ReadMemStats less during benchmarking
  • issue/27217 testing: tiny benchmark with StopTimer runs forever
  • issue/41637 testing: benchmark iteration reports incorrectly
  • issue/41641 testing: inconsistent benchmark measurements when interrupts timer
  • design/gotest-json Nodir Turakulov. Proposal: -json flag in go test. 2016-09-14.
  • design/testing-helper Caleb Spare. Proposal: testing: better support test helper functions with TB.Helper. 2016-12-27
    • issue/4899 testing: add t.Helper to make file:line results more useful
  • design/fuzzing Katie Hockman. Design Draft: First Class Fuzzing
  • issue/43744 testing: benchmark unit properties
  • issue/48803 all: Go compiler/runtime performance monitoring system
  • issue/49121 x/perf/storage: support postgres for db
  • issue/61179 proposal: testing: add identity function that forces evaluation for benchmarks
  • issue/67434 proposal: testing/synctest: new package for testing concurrent code

Back To Top

Runtime Core

Scheduler

  • paper/work-steal Robert D. Blumofe and Charles E. Leiserson. 1999. Scheduling multithreaded computations by work stealing. J. ACM 46, 5 (September 1999), 720-748.
  • cl/sched-m-1 Russ Cox, Clean up scheduler. Aug 5, 2008.
  • cl/sched-m-n things are much better now, Nov 11, 2009.
  • design/go11sched Dmitry Vyukov. Scalable Go Scheduler Design Doc, 2012
  • design/sched-preempt-dmitry Dmitry Vyukov. Go Preemptive Scheduler Design Doc, 2013
  • design/sched-numa Dmitry Vyukov, NUMA-aware scheduler for Go. Sep 2014.
  • design/go15gomaxprocs Russ Cox. Go 1.5 GOMAXPROCS Default. May 2015.
  • issue/73193 runtime: CPU limit-aware GOMAXPROCS default (container/cgroup-aware, Go 1.25)
    • issue/33803 runtime: make GOMAXPROCS cfs-aware on GOOS=linux
  • doc/go17sched Ian Lance Taylor. How does the golang scheduler work? July 16, 2016.
  • design/sched-preempt-austin Austin Clements. Proposal: Non-cooperative goroutine preemption. Jan 2019.
    • cl/43050 cmd/compile: loop preemption with fault branch on amd64. May 09, 2019.
    • issue/10958 runtime: tight loops should be preemptible
    • issue/24543 runtime: non-cooperative goroutine preemption
    • issue/36365 runtime: clean up async preemption loose ends
  • issue/14592 runtime: let idle OS threads exit
  • issue/18237 runtime: scheduler is slow when goroutines are frequently woken
  • issue/20395 runtime: terminate locked OS thread if its goroutine exits
  • issue/20458 proposal: runtime: pair LockOSThread, UnlockOSThread calls
  • issue/21827 runtime: big performance penalty with runtime.LockOSThread
  • issue/27345 runtime: use parent goroutine's stack for new goroutines
  • issue/28808 runtime: scheduler work stealing slow for high GOMAXPROCS
  • issue/32113 runtime: optimization to reduce P churn.
  • issue/43997 runtime: non-spinning Ms spin uselessly when work exists
  • issue/44313 runtime: stopped Ms can't become dedicated or fractional GC workers
  • issue/51071 runtime: investigate possible Go scheduler improvements inspired by Linux Kernel's CFS
  • discuss/periodic-task-when-time Periodic task when time.Ticker and time.Sleep are pretty expensive (golang-nuts)
  • discuss/why-there-is-a Why there is a so great performance penalty when the usage combines LockOSThread and channel? (golang-nuts)
  • design/mutex-spinbit Rhys Hiltner. Proposal: Improve scalability of runtime.lock2. 2024-10-16.
  • issue/61015 runtime: change mutex profile to scale contention by number of blocked goroutines
  • discuss/runtime-setting-gomaxprocs-in runtime: Setting GOMAXPROCS in over-scheduled Contanier Environments (golang-nuts)
  • discuss/concurrency-and-task-scheduler Concurrency and task scheduler scalability (golang-nuts)
  • issue/69687 testing/synctest: experimental package for testing concurrent code
  • issue/45435 sync: add Mutex.TryLock
  • design/goroutine-leak-detection-gc Georgian-Vlad Saioc, Milind Chabbi. Proposal: Goroutine leak detection via garbage collection. 14 Aug 2025.
    • issue/74609 runtime/pprof,runtime: new goroutine leak profile
    • issue/38651 runtime: add 'created by goroutine number' to stack traces
  • issue/543 runtime: preemptive scheduling
  • issue/68578 runtime: improve scaling of lock2
  • issue/66999 runtime: correct attribution of internal mutex contention
  • issue/57071 runtime/metrics: add a way to measure runtime-internal lock contention
  • issue/49881 runtime/metrics: add contention metrics
  • issue/81657 runtime: speed up GC phase transitions
  • issue/65694 runtime: stronger affinity between G ↔ P ↔ M ↔ CPU?
  • issue/53789 runtime: express lock rank graph as a DAG like go/build/deps_test.go
  • issue/13759 proposal: Add a Partial Deadlock Detector For Go
  • issue/21678 runtime: provide a mechanism for debuggers to execute a function in the program being debugged
  • issue/70089 proposal: runtime/mainthread: add mainthread.Do for mediating access to the main thread
  • doc/container-aware-gomaxprocs Michael Pratt and Carlos Amedee. Container-aware GOMAXPROCS. August 20, 2025.

Back To Top

Execution Stack

Back To Top

Memory Management

Allocator

A quick history about the Go's memory allocator: Russ Cox first implements the memory allocator based on tcmalloc for Go 1, mcache is cached on M. Then he revised the allocator to allow user code to use 16GB memory and later allows 128GB. However, the allocator (including scavenger) was suffered from massive lock contentions and does not scale. After Dmitry's scalable runtime scheduler, the allocator can allocate directly from P (with much less) lock contentions. In the meantime, the scavenger is migrated from an independent thread into the system monitor thread. Now, Michael is actively working on improving the memory allocator's scalability, such as migrating scavenger to user threads, bitmap-based page allocator, scalable mcentral.

  • doc/tcmalloc Sanjay Ghemawat, Paul Menage. TCMalloc : Thread-Caching Malloc. Google Inc., 2009
  • design/go113scavenge Michael Knyszek. Proposal: Smarter Scavenging. 2019-05-09.
    • issue/30333 runtime: smarter scavenging
    • issue/32012 runtime: background scavenger is overzealous with small heaps
    • issue/31966 runtime: background scavenger can delay deadlock detection significantly
    • issue/34047 runtime: potential deadlock cycle caused by scavenge.lock
    • issue/34048 runtime: scavenger pacing fails to account for fragmentation
    • issue/35788 runtime: scavenger not as effective as in previous releases
    • issue/36521 runtime: performance degradation in go 1.12
    • issue/36603 runtime: sysUsed often called on non-scavenged memory
  • design/go114pagealloc Michael Knyszek, Austin Clements. Proposal: Scaling the Go page allocator. 2019-10-18.
    • issue/35112 runtime: make the page allocator scale
    • cl/200439 runtime: place lower limit on trigger ratio
  • issue/8885 runtime: consider adding 24-byte size class.
  • issue/37487 runtime: improve mcentral scalability
    • cl/221182 runtime: add new mcentral implementation
  • issue/18155 runtime: latency in sweep assists when there's no garbage
  • issue/19112 runtime: deadlock involving gcControllerState.enlistWorker
  • issue/23687 runtime: use MADV_FREE on linux as well
    • cl/135395 runtime: use MADV_FREE on Linux if available
  • issue/29707 cmd/trace: failed to parse trace: no consistent ordering of events possible
  • issue/35954 runtime: handle hitting the top of the address space in the allocator more gracefully
  • issue/37927 runtime: GC pacing exhibits strange behavior with a low GOGC
  • issue/38130 runtime: incorrect sanity checks in the page allocator
  • issue/38404 runtime: STW GC stops working on arm64/mips64le
  • issue/38605 runtime: pageAlloc.allocToCache updates pageAlloc.searchAddr in an invalid way
  • issue/38617 runtime: scavenger freezes up in Go 1.14 in Windows due to coarse time granularity
  • issue/38966 runtime: aix-ppc64 builder is failing with "bad prune", "addr range base and limit are not in the same memory segment" fatal errors
  • issue/39128 runtime: linux-mips-rtrk builder consistently failing with "bad prune" as of CL 233497
  • issue/40191 runtime: pageAlloc.searchAddr may point to unmapped memory in discontiguous heaps, violating its invariant
  • issue/40457 runtime: runqputbatch does not protect its call to globrunqputbatch
  • issue/40641 runtime: race between stack shrinking and channel send/recv leads to bad sudog values
  • issue/42330 runtime: default to MADV_DONTNEED on Linux
    • cl/267100 runtime: default to MADV_DONTNEED on Linux
  • issue/46787 runtime: provide Pinner API for object pinning
  • issue/51317 proposal: arena: new package providing memory arenas
  • issue/59960 runtime: improve heap hugepage utilization
  • issue/62483 unique: new package with unique.Handle
  • design/scaling-the-page-allocator Michael Knyszek, Austin Clements. Proposal: Scaling the Go page allocator. 2019-10-18.
  • design/smarter-scavenging Michael Knyszek. Proposal: Smarter Scavenging.
  • design/heap-hugepage-util Michael Knyszek, Michael Pratt. A more hugepage-aware Go heap.
  • design/memory-regions Memory regions.
  • design/runtime-freegc Directly freeing user memory to reduce GC work.
  • issue/10460 runtime: 512GB memory limitation
  • issue/79286 runtime: sizespecializedmalloc experiment
  • issue/40431 proposal: runtime.Pin() to protect against hypothetical moving GC in the future
  • issue/69327 runtime: non-preemptible zeroing in clear, append, bytes.growSlice, etc
  • design/go-pmem Jerrin Shaji George, Mohit Verma, Rajesh Venkatasubramanian, Pratap Subrahmanyam. Proposal: Add support for Persistent Memory in Go. January 20, 2021.
    • issue/43810 proposal: spec: add native support for programming persistent memory in Go (declined)
  • doc/unique Michael Knyszek. New unique package. August 27, 2024.
  • doc/size-specialized-allocations Michael Matloob. Size-Specialized Memory Allocation. September 16, 2026.

Back To Top

Collector

  • paper/on-the-fly-gc Edsger W. Dijkstra, Leslie Lamport, A. J. Martin, C. S. Scholten, and E. F. M. Steffens. 1978. On-the-fly garbage collection: An exercise in cooperation. Commun. ACM 21, 11 (November 1978), 966–975.
  • paper/yuasa-barrier T. Yuasa. 1990. Real-time garbage collection on general-purpose machines. J. Syst. Softw. 11, 3 (March 1990), 181-198.
  • design/bettergc Dmitry Vyukov. Better GC and Memory Allocator for Go. May 20, 2013
  • design/go13gc Dmitry Vyukov. Simpler and faster GC for Go. July 16, 2014
  • design/go14gc Richard L. Hudson. Go 1.4+ Garbage Collection (GC) Plan and Roadmap. August 6, 2014.
  • design/go15gcpacing Austin Clements. Go 1.5 concurrent garbage collector pacing. Mar 10, 2015.
  • discuss/gcpacing Austin Clements et al. Discussion of "Proposal: Garbage collector pacing". March 10, 2015.
  • issue/11970 runtime: replace GC coordinator with state machine
  • design/sweep-free-alloc Austin Clements. Proposal: Dense mark bits and sweep-free allocation. Sep 30, 2015.
  • issue/12800 runtime: replace free list with direct bitmap allocation
  • design/decentralized-gc Austin Clements. Proposal: Decentralized GC coordination. October 25, 2015.
  • issue/12967 runtime: shrinkstack during mark termination significantly increases GC STW time
  • issue/14951 runtime: mutator assists are over-aggressive, especially at high GOGC
  • design/eliminate-rescan Austin Clements, Rick Hudson. Eliminate STW stack re-scanning. October 21, 2016.
  • design/concurrent-rescan Austin Clements, Rick Hudson. Proposal: Concurrent stack re-scanning. Oct 18, 2016.
    • issue/17505 runtime: perform concurrent stack re-scanning
  • design/soft-heap-limit Austin Clements. Proposal: Separate soft and hard heap size goal. October 21, 2017.
  • issue/22460 runtime: optimize write barrier
  • design/roc Request Oriented Collector (ROC) Algorithm
  • doc/ismm-gc Rick Hudson. Getting to Go: The Journey of Go's Garbage Collector. 12 July 2018.
  • discuss/ismm-gc Garbage Collection Slides and Transcript now available
  • design/simplify-mark-termination Austin Clements. Proposal: Simplify mark termination and eliminate mark 2. Aug 9, 2018.
    • issue/26903 runtime: simplify mark termination and eliminate mark 2
  • design/gcscan Proposal: GC scanning of stacks
    • issue/22350 cmd/compile: compiler can unexpectedly preserve memory,
  • issue/27993 runtime: error message: P has cached GC work at end of mark termination
  • issue/37116 runtime: 10ms-26ms latency from GC in go1.14rc1, possibly due to 'GC (idle)' work
  • issue/42430 runtime: GC pacer problems meta-issue
    • issue/39983 runtime: idle GC interferes with auto-scaling
    • issue/17969 runtime: aggressive GC completion is disruptive to co-tenants
    • issue/14812 runtime: GC causes latency spikes
    • issue/40460 runtime: goroutines may allocate beyond the hard heap goal
    • issue/29696 proposal: runtime: add way for applications to respond to GC backpressure
    • issue/23044 proposal: runtime: add a mechanism for specifying a minimum target heap size
  • issue/42642 runtime: multi-ms sweep termination pauses (second edition)
  • issue/44163 runtime: remove idle GC workers
  • issue/44167 runtime: GC pacer redesign
  • issue/44309 proposal: runtime/debug: user-configurable memory target
  • issue/48409 proposal: runtime/debug: soft memory limit
  • issue/45894 runtime: mark termination is slow to restart mutator
  • issue/45315 runtime: runtime.GC can return without finishing sweep
  • issue/49075 runtime: possible memory corruption
  • issue/52433 runtime: heap goal overrun due to scheduler delays in mark termination
  • doc/gc-guide A Guide to the Go Garbage Collector
  • issue/12234 runtime: revisit non-constant assist ratio
  • issue/27732 runtime: mark assist blocks GC microbenchmark for 7ms
  • design/batch-wb Keith Randall. Batching Write Barriers. 2022 Oct, 25.
  • issue/31222 runtime: long pauses STW (sweep termination) on massive block allocation
  • doc/greenteagc Michael Knyszek and Austin Clements. The Green Tea Garbage Collector. October 29, 2025. (experimental in Go 1.25, default in Go 1.26)
  • discuss/sub-millisecond-gc-pauses Sub-millisecond GC pauses (golang-dev)
  • issue/67535 runtime: add AddCleanup
    • issue/71825 runtime: allow cleanups to run concurrently
  • issue/67552 weak: new package providing weak pointers
  • discuss/secure-go-binaries Secure Go binaries (golang-nuts)
  • issue/11911 runtime: unbounded heap growth with concurrent GC
  • issue/12041 runtime: redesign GC synchronization
  • issue/27583 runtime: feature request: Support for ASLR with the heap
  • doc/go119runtime Michael Knyszek. Go runtime: 4 years later. September 26, 2022.
  • doc/cleanups-and-weak Michael Knyszek. From unique to cleanups and weak: new low-level tools for efficiency. March 6, 2025.
  • talk/madhav2022 Madhav Jivrajani. Control Theory and Concurrent Garbage Collection Deep Dive. GopherCon 2022, Chicago. October 2022.
  • talk/tarun2022 Tarun Pothulapati. Soft Memory Limit in Go 1.19. Lightning talk, GopherCon 2022, Chicago. October 2022.
  • talk/yifei2023 Yifei Zhang. Balanced GC: A Copying Garbage Collector for Golang. GopherCon 2023, San Diego. September 2023.

Back To Top

Statistics

Back To Top

Memory model

The Go memory model consists the following parts:

  • Memory order regarding atomic operations

  • Memory order regarding the sync package APIs

  • Memory order regarding runtime mechanism (i.e. Object finalizer)

  • doc/refmem Rob Pike and Russ Cox. The Go Memory Model. February 21, 2009.

  • issue/4947 cmd/cc: atomic intrinsics

  • issue/5045 doc: define how sync/atomic interacts with memory model

  • issue/7948 doc: define how sync interacts with memory model

  • issue/9442 doc: define how finalizers interact with memory model

  • issue/33815 doc/go_mem: "hello, world" will not always be printed twice

  • cl/75130045 doc: allow buffered channel as semaphore without initialization

  • doc/gomem Russ Cox. Go’s Memory Model. February 25, 2016.

  • doc/go2017russ Russ Cox. My Go Resolutions for 2017: Memory model. January 18, 2017.

  • doc/atomic-bug Package atomic

  • discuss/atomic-mem-order specify the memory order guarantee provided by atomic Load/Store

  • issue/37355 runtime/race: running with -race misses races (mismatch with memory model)

    • cl/220419 runtime: swap the order of raceacquire() and racerelease
    • issue/42598 runtime: apparent false-positive race report for a buffered channel after CL 220419
    • cl/271987 runtime: check channel's elemsize before calling race detector
    • [paper/fava2020fix] Fava, Daniel Schnetzer. "Finding and Fixing a Mismatch Between the Go Memory Model and Data-Race Detector." International Conference on Software Engineering and Formal Methods. Springer, Cham, 2020.
  • doc/mm Russ Cox. Memory Models. June, 2021.

    • doc/hwmm Russ Cox. Hardware Memory Models. June 29, 2021.
    • doc/plmm Russ Cox. Programming Language Memory Models. July 6, 2021.
    • doc/gomm Russ Cox. Updating the Go Memory Model. July 12, 2021.
    • discuss/47141 Updating the Go memory model.
    • issue/50860 proposal: sync/atomic: add typed atomic values
    • issue/50859 proposal: doc: update Go memory model
    • doc/out-of-thin-air Hans-J. Boehm. P1217R2: Out-of-thin-air, revisited, again. 2019-06-16.
    • doc/cpp-memory-model Hans-J. Boehm, Sarita V. Adve. Foundations of the C++ Concurrency Memory Model. May 21, 2008.
    • cl/381315 doc: update Go memory model
    • cl/381316 runtime, sync, sync/atomic: document happens-before guarantees
  • discuss/align-64-bit-integers align 64-bit integers on 32-bit platforms (golang-dev)

  • issue/61395 sync/atomic: add OR/AND operators for unsigned types

  • issue/53821 runtime: convert atomic values to runtime/internal/atomic types

Back To Top

ABI

  • design/cgo-pointers Ian Lance Taylor. Proposal: Rules for passing pointers between Go and C. October, 2015
    • issue/12416 cmd/cgo: specify rules for passing pointers between Go and C
  • design/internal-abi Austin Clements. Proposal: Create an undefined internal calling convention. Jan 14, 2019.
    • issue/27539 proposal: runtime: make the ABI undefined as a step toward changing it.
    • issue/31193 cmd/compile, runtime: reduce function prologue overhead
  • design/register-call Austin Clements, with input from Cherry Zhang, Michael Knyszek, Martin Möhrmann, Michael Pratt, David Chase, Keith Randall, Dan Scales, and Ian Lance Taylor. Proposal: Register-based Go calling convention. Aug 10, 2020.
  • issue/18597 proposal: cmd/compile: define register-based calling convention
  • issue/40724 proposal: switch to a register-based calling convention for Go functions
    • cl/266638 reflect,runtime: use internal ABI for selected ASM routines, attempt 2
    • cl/259445 cmd/compile,cmd/link: initial support for ABI wrappers
  • design/internal-abi-spec Go internal ABI specification.
  • issue/78902 simd: architecture and vector-size agnostic SIMD intrinsics under a GOEXPERIMENT
  • issue/44816 cmd/compile: register ABI bringup testcase failures (tracking issue)

Back To Top

Misc

  • issue/20135 runtime: shrink map as elements are deleted
  • issue/48687 runtime: enhance map cacheline efficiency
  • issue/54766 runtime: use SwissTable
  • discuss/design-discuss-switch-hashmap Design discuss: Switch hashmap implementation to SipHash-2-4 (golang-dev)
  • issue/14874 proposal: cmd/compile: compiler-emitted itab symbols
  • issue/61716 math/rand/v2: revised API for math/rand
    • discuss/60751 math/rand/v2: a new API for math/rand and a first v2 for std
  • issue/16093 runtime/pprof: generate profiles in gzipped proto format
  • issue/76349 runtime: add runtime/pprof goroutine labels to tracebacks
  • issue/42888 runtime/debug: add SetCrashOutput(file *os.File)
    • issue/37475 cmd/go: stamp git/vcs current HEAD hash/commit hash/dirty bit in binaries
    • issue/67182 runtime/debug: add SetCrashOutput options
  • issue/3885 runtime: profile and tune map code
  • issue/25237 runtime: opportunistically rotate map key seed
  • issue/2630 runtime: hash function should be randomized to prevent DOS attacks
  • issue/20505 runtime: need a better itab table
  • issue/75280 runtime/pprof,runtime: add new goroutine leak profile as a GOEXPERIMENT
  • doc/randv2 Russ Cox. Evolving the Go Standard Library with math/rand/v2. May 1, 2024.
  • doc/chacha8rand Russ Cox and Filippo Valsorda. Secure Randomness in Go 1.22. May 2, 2024.
  • doc/swisstable Michael Pratt. Faster Go maps with Swiss Tables. February 26, 2025.
  • doc/goroutine-leak-profiles Vlad Saioc. Goroutine Leak Profiles. September 2, 2026.

Standard Library

syscall

Back To Top

os, io, io/fs, embed

In Go 1.16, tons of major rework and improvements surround the new os/fs package.

  • design/draft-iofs Russ Cox, Rob Pike. File System Interfaces for Go — Draft Design. July 2020.
    • issue/13473 proposal: os: Stdin, Stdout and Stderr should be interfaces
    • issue/14106 proposal: os: File should be an interface
    • issue/19660 proposal: io/ioutil: rename to io/fileio or similar
    • issue/40025 proposal: io/ioutil: move Discard, NopCloser, ReadAll to io
    • issue/42027 proposal: path/filepath: add WalkDir (Walk using DirEntry)
    • issue/41190 io/fs: add file system interfaces
    • issue/41467 os: add ReadDir method for lightweight directory reading
    • issue/41974 proposal: io/fs, filepath: add more efficient Walk alternative
    • issue/42026 proposal: os: add ReadDir, ReadFile, WriteFile, CreateTemp, MkdirTemp & deprecate io/ioutil
    • issue/43223 proposal: io/fs, net/http: define interface for automatic ETag serving
  • design/go116embed Embedded files - Russ & Braid
    • issue/41191 embed, cmd/go: add support for embedded files
    • issue/42321 embed: warn about dotfiles in embed.FS documentation
    • issue/42328 proposal: cmd/go: avoid surprising inclusion of "hidden" files when using //go:embed
    • issue/43216 proposal: embed: remove support for embedding directives on local variables
    • issue/43217 proposal: embed: define String and Bytes type aliases that must be used with //go:embed
    • issue/43218 embed: resolve string, []byte issues
    • issue/44166 io/fs,os: fs.ReadDir with an os.DirFS can produce invalid paths
    • issue/42322 io/fs: add func Sub(fsys FS, dir string) FS
  • issue/45757 proposal: io/fs: add writable interfaces
  • issue/9051 io: no easy way to fan out to multiple readers
  • issue/56219 path/filepath: add IsLocal
  • issue/57151 path/filepath: add Localize to safely convert a slash-separated path into an operating system path
  • issue/54898 archive/zip: add (*Writer).AddFS
  • issue/62484 os: add CopyFS
  • issue/67002 os: safer file open functions
  • doc/osroot Damien Neil. Traversal-resistant file APIs. March 12, 2025.

Back To Top

go/*

  • doc/gotypes Alan Donovan. go/types: The Go Type Checker.
  • talk/gotypes Alan Donovan. Using go/types for Code Comprehension and Refactoring Tools. October 2, 2015.
  • design/modular-interface Alan Donovan. Proposal: a common interface for modular static analyses for Go. 9 Sep 2018
    • cl/134935 go/analysis: a new API for analysis tools
  • issue/62039 go/version: package for handling Go version strings

Back To Top

sync

Back To Top

Map

  • issue/21031 sync: reduce pointer overhead in Map
  • issue/21032 sync: reduce (*Map).Load penalty for Stores with new keys
  • issue/21035 sync: reduce contention between Map operations with new-but-disjoint keys
  • issue/37033 runtime: provide centralized facility for managing (c)go pointer handles
  • issue/51972 sync: add new Map methods CompareAndSwap, CompareAndDelete, Swap

Back To Top

Pool

  • discuss/add-pool gc-aware pool draining policy
  • issue/4720 sync: add Pool type. Jan 28, 2013.
  • cl/46010043 sync: scalable Pool. Jan 24, 2014.
  • cl/86020043 sync: less agressive local caching in Pool. Apr 14, 2014.
  • cl/162980043 sync: release Pool memory during second and later GCs. Oct 22, 2014.
  • issue/8979 sync: Pool does not release memory on GC
  • issue/22331 runtime: clearpools causes excessive STW1 time
  • issue/22950 sync: avoid clearing the full Pool on every GC.
    • cl/166960 sync: use lock-free structure for Pool stealing.
    • cl/166961 166961: sync: smooth out Pool behavior over GC with a victim cache.
  • issue/24479 sync: eliminate global Mutex in Pool operations
  • discuss/pool-draining Russ Cox. gc-aware pool draining policy. golang-dev. November 27, 2013.

Back To Top

Mutex, RWMutex

  • cl/4631059 runtime: replace Semacquire/Semrelease implementation.
  • issue/9201 proposal: sync: prohibit unlocking mutex in a different goroutine
  • issue/13086 runtime: fall back to fair locks after repeated sleep-acquire failures.
  • issue/17973 sync: RWMutex scales poorly with CPU count
    • cl/215361 sync: Implement a version of RWMutex that can avoid cache contention

Back To Top

Groups

  • cl/134395 errgroup: rethink concurrency patterns
    • cl/131815 errgroup: handle runtime.Goexit from child goroutines
    • issue/15758 testing: complain loudly during concurrent use of T.FatalX and T.SkipX
    • issue/25448 proposal: promote panic(nil) to non-nil panic value
    • issue/53757 x/sync/errgroup: propagate panics and Goexits through Wait

atomic

  • issue/8739 runtime,sync/atomic: unify API for runtime/internal/atomic and sync/atomic
  • issue/20164 proposal: atomic: add (*Value).Swap
  • discuss/atomic-value
  • issue/36606 proposal: cmd/compile: make 64-bit fields be 64-bit aligned on 32-bit systems, add //go:packed directive on structs
  • issue/37262 runtime: can't atomic access of first word of tiny-allocated struct on 32-bit architecture

Back To Top

time

  • design/monotonic-time Russ Cox. Proposal: Monotonic Elapsed Time Measurements in Go. January 26, 2017.
    • issue/12914 time: use monotonic clock to measure elapsed time
  • Scalable Timer
    • cl/34784 runtime: improve timers scalability on multi-CPU systems
    • issue/6239 runtime: make timers faster.
    • issue/15133 runtime: timer doesn't scale on multi-CPU systems with a lot of timers
    • issue/27707 time: excessive CPU usage when using Ticker and Sleep.
  • Followup latency issues
    • issue/18023 runtime: unexpectedly large slowdown with runtime.LockOSThread
    • issue/25471 time: Sleep requires ~7 syscalls
    • issue/38070 runtime: timer self-deadlock due to preemption point
    • issue/36298 net: 1.14 performance regression on mac
    • issue/38860 runtime: CPU bound goroutines cause unnecessary timer latency
      • cl/216198 runtime: add goroutines returned by poller to local run queue
      • cl/232199 runtime: steal timers from running P's
      • cl/232298 runtime: reduce timer latency
    • issue/44343 runtime: time.Sleep takes more time than expected
    • issue/44868 time, runtime: zero duration timer takes 2 minutes to fire

Back To Top

context

  • issue/8082 proposal: spec: represent interfaces by their definition and not by package and name
  • issue/14660 proposal: context: new package for standard library
  • issue/16209 Proposal: relaxed rules for assignability with differently-named but identical interfaces
  • issue/20280 proposal: io: add Context parameter to Reader, etc.
  • issue/21355 proposal: Replace Context with goroutine-local storage
  • issue/24050 testing: test with child process sometimes hangs on 1.10; -timeout not respected
  • issue/27982 proposal: Go 2: bake a cooperative goroutine cancellation mechanism into the language
  • issue/28342 proposal: Go 2: update context package for Go 2
  • issue/29011 proposal: Go 2: use structured concurrency
  • doc/context-go-away Michal Štrba. Context should go away for Go 2. 2017/08/06
  • doc/context Go Concurrency Patterns: Context.
  • doc/context-isnt-for-cancellation Dave Cheney. Context isn’t for cancellation. August 20, 2017.
  • issue/36503 proposal: context: add Merge
  • issue/42564 context: cancelCtx exclusive lock causes extreme contention
  • issue/51365 proposal: context: add APIs for writing and reading cancelation cause
  • issue/56661 context: add APIs for setting a cancelation cause when deadline or timer expires
  • issue/57928 context: add AfterFunc

Back To Top

encoding

  • design/go12encoding Russ Cox. Go 1.2 encoding.TextMarshaler and TextUnmarshaler. July 2013.
  • design/go12xml Russ Cox. Go 1.2 xml.Marshaler and Unmarshaler. July 2013.
  • design/natural-xml Sam Whited. Proposal: Natural XML. 2016-09-27
    • issue/13504 encoding/xml: add generic representation of XML data
  • design/zip Russ Cox. Proposal: Zip-based Go package archives. February 2016
    • issue/14386 proposal: use zip format inside .a and .o files
  • design/xmlstream Sam Whited. Proposal: XML Stream. Mar 9, 2017.
    • issue/19480 encoding/xml: add decode from TokenReader, to enable stream transformers
  • design/raw-xml Sam Whited. Proposal: Raw XML Token. Sep 1, 2018.
  • discuss/63397 Joe Tsai. encoding/json/v2. October 2023.
    • issue/71497 encoding/json/v2: new API for encoding/json
    • issue/71845 encoding/json/v2: add new JSON API behind a GOEXPERIMENT=jsonv2 guard (Go 1.25)
    • repo/json-experiment Experimental implementation of a proposed v2 encoding/json package
  • doc/jsonv2-exp Joe Tsai, Daniel Martí, Johan Brandhorst-Satzkorn, Roger Peppe, Chris Hines, and Damien Neil. A new experimental Go API for JSON. September 9, 2025.
  • talk/joe2023 Joe Tsai. The Future of JSON in Go. GopherCon 2023, San Diego. September 2023.

Back To Top

image, x/image

The following issues are surrounding by the color management of the image standard library. At the moment, Go's image library doesn't read or write meta information from an image in the encoding or decoding phase. Therefore the color information could go wrong while processing an image such as scaling in a non-linear sRGB space. A universal solution is to design image metadata APIs to aware the color profile in an encoded image file.

  • issue/11420 x/image/draw: color space-correct interpolation
    • issue/20613 image/png: don't ignore PNG gAMA chunk
    • issue/27830 proposal: image: decoding options
    • cl/253497 x/image/draw: gamma corrected non linear interpolation
    • issue/37188 image/color: documentation doesn't include links to relevant color theory resources
  • issue/33457 proposal: image: add generic metadata support for jpeg, gif, png
  • issue/44808 image, image/draw: add interfaces for using RGBA64 directly
  • issue/46395 image/draw: increase performances by applying special case if mask is *image.Alpha
  • issue/8055 image: decode / resize into an existing buffer
  • issue/11793 image/color: NRGBA(64).RGBA() optimization
  • issue/15759 image: optimize Image.At().RGBA()
  • issue/20851 image: Decode drops interfaces
  • issue/24499 image/jpeg: Decode is slow

Back To Top

math

  • issue/8037 cmd/internal/obj/x86: add fma
  • issue/17895 spec: allow the use of fused multiply-add floating point instructions
    • cl/40391 spec: clarify use of fused-floating point operations
  • issue/24813 math/bits: add extended precision Add, Sub, Mul, Div
  • issue/25819 math: add guaranteed FMA

Back To Top

Mobile

Back To Top

log

net, net/http

  • discuss/47323 Russ Cox. proposal: net/netaddr: add new IP address type, netaddr package (discussion). July 21, 2021.
  • issue/56539 net: add support for MPTCP
  • discuss/60227 Jonathan Amsterdam. net/http: add methods and path variables to ServeMux patterns. May 16, 2023.
  • doc/routing-enhancements Jonathan Amsterdam. Routing Enhancements for Go 1.22. February 13, 2024.
  • issue/66405 net/http: expose matched pattern in Request
  • discuss/60746 Damien Neil. net/http: move HTTP/2 into the standard library. June 12, 2023.
  • issue/67813 net/http: HTTP/2 configuration API
  • issue/73626 net/http: add CrossOriginForgeryHandler
  • issue/75772 net/http: client connection API
  • doc/http-connection-reuse Nicholas Husin and Damien Neil. Better HTTP/1 connection reuse. October 14, 2026.
  • issue/58547 x/net/quic: add QUIC implementation

Back To Top

crypto

  • issue/66821 crypto/rand: crash process on error reading randomness
  • issue/67057 crypto/rand: add func Text
  • issue/61477 crypto/hkdf: add package
  • issue/69488 crypto/pbkdf2: add package
  • issue/63369 crypto/tls: support Encrypted Client Hello in clients
  • issue/70122 crypto/mlkem: new package
  • issue/75300 crypto/hpke: new package
  • issue/77626 crypto/mldsa: new package
  • issue/70123 crypto: mechanism to enable FIPS mode
  • issue/70200 cmd/go: add fips140 module selection mechanism
  • doc/tob-crypto-audit Roland Shoemaker and Filippo Valsorda. Go Cryptography Security Audit. May 19, 2025.
  • doc/fips140 Filippo Valsorda (Geomys), Daniel McCarney (Geomys), and Roland Shoemaker (Google). The FIPS 140-3 Go Cryptographic Module. July 15, 2025.
  • design/crypto-ssh-v2 Nicola Murino, Filippo Valsorda. x/crypto/ssh/v2. August 19, 2024.

Back To Top

misc

  • design/mobile-audio Jaana Burcu Dogan. Proposal: Audio for Mobile. November 30, 2015.
  • design/localization Marcel van Lohuizen. Proposal: Localization support in Go. Jan 28, 2016.
  • design/unbounded-queue Christian Petrin. Proposal: Built in support for high performance unbounded queue. October 2, 2018
  • design/lockfile Adrien Delorme. Proposal: make the internal lockedfile package public. 2019-10-15.
  • design/cidr Rudi Kramer, James Forrest. Proposal: Add support for CIDR notation in no_proxy variable. 2017-07-10
    • issue/16704 net/http: considering supporting CIDR notation in no_proxy env variable
  • design/dns Sam Whited. Proposal: DNS Based Vanity Imports. 2018-06-30.
    • issue/26160 proposal: use DNS TXT records for vanity import paths
  • issue/46518 net/netip: add new IP address package, use in net
  • issue/53171 proposal: add package for using SIMD instructions
  • issue/54880 math/rand: seed global generator randomly
  • issue/60204 cmp: add Or
  • issue/60088 reflect: add TypeFor
  • issue/60370 database/sql: add generic Null[T]
  • issue/66408 structs: add HostLayout "directive" type
  • issue/54670 hash/maphash: add func Comparable
  • issue/70471 hash/maphash: standardize the hash function
  • issue/69264 x/exp/stats: new package with Mean, Median, more
  • issue/62026 uuid: add API to generate and parse UUID

Back To Top

Unclassified But Relevant Links

Back To Top

Fun Facts

  • cl/1 Brian Kernighan. Go's first commit. Jul 19, 1972.
  • issue/9 I have already used the name for MY programming language. Nov 11, 2009
  • issue/2870 9 is prime if it's a hot day. Feb 3, 2012
  • doc/gophercount How Many Go Developers Are There?. November 1, 2019.
  • discuss/google-owns-go Russ Cox's response on "Go is Google's language, not ours"

Back To Top

Acknowledgements

The document author would like to first thank the TalkGo community creator Mai Yang's champion sponsorship for the golang.design initiative. His creation of the TalkGo significantly changed the Go community in China. He is also a great person that is actively contributing to all kinds of Go related projects.

It is also important to thank the continuing, inspiring discussion and sharing with the TalkGo community core members qcrao, aofei, and eddycjy.

The document would not be organized without all of the supports from them.

Back To Top

License

golang.design/history | CC-BY-NC-ND 4.0 © changkun

Jelajahi proyek terkait

Memuat…