golang/proposal
View on GitHub ↗ ★ 3,458 HTML
Go Project Design Documents
100 mentions on Hacker News by 82 people: 24 stories, 76 comments · first 2015-10-01 · latest 2026-10-20
20082026
-
…of like Swift's witness tables or Go's own interface vtables. See this description for details: https://github.com/golang/proposal/blob/master/design/generi... The typical end result sits somewhere between monomorphization and type erasure…
comment by kbolino · 2026-10-20 · in 2026 is an exciting year for the Rust compiler (and me) -
…lot, so that's mostly incorrect - it'd be relatively true for Java, for comparison, ignoring Graal. https://github.com/golang/proposal/blob/master/design/generi... there are only exceptions when you instantiate multiple different types…
comment by Groxx · 2026-09-27 · in Go Concurrency Distilled -
…Java generics. We would have been well-served to spend more time with CLU and C++ concepts earlier. https://github.com/golang/proposal/blob/master/design/go2dra... And naturally Rob Pike's pearl, > think the transition to getting…
comment by pjmlp · 2026-08-18 · in How Go detects struct copies with sync.noCopy -
…by detractors like yourself. Here is a timeline if you're interested: 2009 Go released. June 2010 https://github.com/golang/proposal/blob/master/design/15292/... Jan 2011 https://github.com/golang/proposal/blob/master/design/15292-...…
comment by 0x696C6961 · 2026-08-18 · in How Go detects struct copies with sync.noCopy -
…isn't a great place to post this proposal if you want it to be implemented. Maybe take a look at https://github.com/golang/proposal and if you want to share your proposal with hn, submit a link to the proposal here.
comment by NoahZuniga · 2025-06-02 · in Proposal: Throw as a Special Variable for Auto Error Propagation in Go -
I know they implemented an optimization back in go 1.13. Not sure if that will help. https://github.com/golang/proposal/blob/master/design/34481-...
comment by pkaye · 2025-03-19 · in The Defer Technical Specification: It Is Time -
the most basic example was the declined proposal https://github.com/golang/proposal/blob/master/design/32437-... Some people didn't like the "try" keyword it reminded them too much of exceptions, some people didn't like that they couldnt…
comment by cowl · 2024-11-26 · in Lies we tell ourselves to keep using Golang (2022) -
…that the function calls. So methods on generic types are still performed through an indirection. https://github.com/golang/proposal/blob/master/design/generi...
comment by paullgdc · 2024-05-18 · in Gio UI – Cross-platform GUI for Go -
…optimization potential and adds a runtime cost to dispatch, at least in its initial implementation. https://github.com/golang/proposal/blob/master/design/generi...
comment by mirashii · 2023-11-11 · in Rust – Faster compilation with the parallel front-end in nightly -
…only monomorphization schemes and hetero-to-homogeneous adapters vary in this particular group. [1] https://github.com/golang/proposal/blob/master/design/generi... [2] https://rust-lang.github.io/compiler-team/working-groups/pol...
comment by lifthrasiir · 2023-10-20 · in Does Go Have Subtyping? -
https://github.com/golang/proposal/blob/d661ed19a203000b7c54... About five years too late, heh.
comment by ainar-g · 2023-08-14 · in Backward Compatibility, Go 1.21, and Go 2 -
…a Go 2" in order to eliminate ambiguity about this? They did, five years ago. Albeit with an “if”. https://github.com/golang/proposal/blob/d661ed19a203000b7c54... > If the above process works as planned, then in an important sense there…
comment by ainar-g · 2023-08-14 · in Backward Compatibility, Go 1.21, and Go 2 -
…an equally if not more expensive lookup for the correct generic function at runtime. Some reading: https://github.com/golang/proposal/blob/master/design/generi... https://planetscale.com/blog/generics-can-make-your-go-code-...
comment by mirashii · 2023-04-19 · in Defining interfaces in C++ with ‘concepts’ (C++20) -
…reasonable answer right now is "wait and find out". You can see a more reasonable proposal here: https://github.com/golang/proposal/blob/master/design/go2dra... Characterizing it as a "lack of vision" does not seem fair here--I started…
comment by klodolph · 2023-01-17 · in Major standard library changes in Go 1.20 -
…point, but I believe that this specific situation was addressed in Go 1.18's GC pacer rework: https://github.com/golang/proposal/blob/master/design/44167-... .
comment by aktau · 2022-03-31 · in Generics can make your Go code slower -
…this was something like traits, but it goes way beyond that. Sub-dictionaries are described here: https://github.com/golang/proposal/blob/master/design/generi... It looks like the compiler needs to walk down the entire call tree from the…
comment by c-linkage · 2022-03-01 · in How generics are implemented in Go 1.18 -
▲ 288
How generics are implemented in Go 1.18story by komuW · 2022-03-01 · 215 comments
-
▲ 1
How generics are implemented in Go 1.18story by komuW · 2022-03-01 · 0 comments
-
▲ 3
Proposal: Headings, lists, and links in Go doc commentsstory by 0xedb · 2022-02-09 · 0 comments
-
…do not exist in golang. the new pacer is in the works to attempt addressing many of the edge cases. https://github.com/golang/proposal/blob/master/design/44167-... you seem to lack fundamental understanding of what the actual issues in the…
comment by jatone · 2022-01-13 · in Large-scale, semi-automated Go GC tuning -
Weird to not see any references to https://github.com/golang/go/issues/48409 / https://github.com/golang/proposal/blob/master/design/48409-... There's been a lot of back-and-forth on how to improve the tuning situation in go. See…
comment by vvern · 2022-01-12 · in Large-scale, semi-automated Go GC tuning -
…[3] https://github.com/golang/go/issues/29696 [4] https://github.com/golang/go/issues/48409 [5] https://github.com/golang/proposal/blob/master/design/48409-...
comment by atombender · 2022-01-12 · in Large-scale, semi-automated Go GC tuning -
…but that's really up to the Go team. Initial implementation strategies considered for generics: https://github.com/golang/proposal/blob/master/design/generi... https://github.com/golang/proposal/blob/master/design/generi...…
comment by uluyol · 2022-01-04 · in Compiling a Go program into a native binary for Nintendo Switch -
…for Go error handling? Yes, it was the second proposal by the Go team for shorter error handling: https://github.com/golang/proposal/blob/master/design/32437-... > I'm really curious what happened to the proposals for shorter Go error…
comment by mseepgood · 2021-10-28 · in Expectations for generics in Go 1.18 -
…a member of the core Go team to add a second GC knob in the form of a soft limit on total memory: https://github.com/golang/proposal/blob/master/design/48409-... It includes some provisions to make sure that the application can keep making…
comment by typical182 · 2021-09-21 · in Taming Go’s memory usage, or how we avoided rewriting our client in Rust -
…and is closed. I would not represent that as anything else. The entire process is captured here: https://github.com/golang/proposal
comment by ctvo · 2021-09-14 · in Go’ing Insane: Endless Error Handling -
…the work has been pushed forward by core team member Ian Lance Taylor who put forward the case in https://github.com/golang/proposal/blob/master/design/15292-... This abstract proposal has been updated to link to a summary of concrete…
comment by mappu · 2021-02-10 · in Golang generics proposal has been accepted -
proposal process is described here: https://github.com/golang/proposal And per https://blog.golang.org/generics-proposal , they hope to get this into the 1.18 release.
comment by kyrra · 2021-02-03 · in Go generics proposal moves to “likely accept” -
…but the community shot it down. Your link was the first proposal, and this was the second proposal: https://github.com/golang/proposal/blob/master/design/32437-...
comment by mseepgood · 2020-11-10 · in Eleven Years of Go -
…powerful, though they wouldn't probably neatly fit into go2. Overall, I'd give go about 8.5/10. [1] https://github.com/golang/proposal/blob/master/design/32437-...
comment by miki123211 · 2020-10-25 · in Ask HN: Go programming language is over ten years old. What do you think of it? -
▲ 1
File System Interfaces for Go – Draft Designstory by kevlar1818 · 2020-07-21 · 0 comments
-
…as a direct call at the end of a function if they happen at most once. The full design doc is here: https://github.com/golang/proposal/blob/master/design/34481-... > Go 1.13 implements the defer statement by calling into the runtime to…
comment by Scaevolus · 2020-02-25 · in Go 1.14 release notes -
Seems like this has been merged: https://github.com/golang/go/issues/35112 https://github.com/golang/proposal/blob/master/design/35112-...
comment by hrgiger · 2020-02-11 · in Distributed cache and K/V store in Go. Embeddable or independent service -
…can not be an ordinary function, because the number and types of its results depend on its input" https://github.com/golang/proposal/blob/master/design/32437-...
comment by mseepgood · 2020-01-30 · in Proposals for Go 1.15 -
…that generics are justified. And they have concrete proposed solutions under evaluation. [1] https://github.com/golang/proposal/blob/master/go2-language-...
comment by JulianMorrison · 2020-01-29 · in Proposals for Go 1.15 -
…variables are stored at every instruction !) and is not portable (no signals on Windows). E.g. https://github.com/golang/proposal/blob/master/design/24543-...
comment by tomp · 2020-01-14 · in Is parallel programming hard, and, if so, what can you do about it? -
…between the concrete types N and E, enabling callers to work with concrete types directly. [0] https://github.com/golang/proposal/blob/4a54a00950b56dd00964...
comment by hundt · 2019-07-30 · in Go's updated generic proposal (Contracts) -
…declaration part still looks some verbose. There are many repetitiveness, such as the Map example: https://github.com/golang/proposal/blob/4a54a00950b56dd00964... func New(type K, V)(compare func(K, K) int) *Map(K, V) func (m *Map(K, V))…
comment by tapirl · 2019-07-28 · in Go's updated generic proposal (Contracts) -
▲ 52
Go's updated generic proposal (Contracts)story by simonz05 · 2019-07-27 · 61 comments
-
…[0]: https://golang.org/doc/faq#exceptions [1]: https://github.com/golang/go/wiki/DesignDocuments , https://github.com/golang/proposal [2]: https://go.googlesource.com/proposal/+/master/design/go2draf...
comment by Cthulhu_ · 2019-07-04 · in An Open Letter to the Go Team About Try -
…despite having Go v1.12.6 (latest stable version as of today) in all our production servers. [1] https://github.com/golang/proposal/blob/master/design/32437-... [2] https://github.com/golang/go/issues/32437#issuecomment-49926... [3]…
comment by guessmyname · 2019-07-03 · in An Open Letter to the Go Team About Try -
…when reading code, which at the current moment has a much easier imperative block structure. [0] https://github.com/golang/proposal/blob/master/design/32437-...
comment by cfors · 2019-07-03 · in An Open Letter to the Go Team About Try -
The full proposal is here: https://github.com/golang/proposal/blob/master/design/32437-...
comment by bdibs · 2019-07-02 · in An Open Letter to the Go Team About Try -
▲ 131
Proposal: A built-in Go error check function, trystory by stablemap · 2019-06-05 · 118 comments
-
…do not deliberate as much on generics. Consider the document that Ian Lance Taylor put out: https://github.com/golang/proposal/blob/master/design/15292/... More research here: https://docs.google.com/document/d/1vrAy9gMpMoS3uaVphB32uVXX...…
comment by chewxy · 2019-05-29 · in Russ Cox’s response to “Go Is Not a Community Driven Project” -
Oooh I like the prospect of check(errProducingFunc()) https://github.com/golang/proposal/blob/master/design/go2dra...
comment by 0xdeadbeefbabe · 2019-05-10 · in Go makes it easier to write correct, clear and efficient code -
▲ 2
Proposal: Go 2 Number Literal Changesstory by ainar-g · 2019-01-17 · 0 comments
-
See the doc I linked above: https://github.com/golang/proposal/blob/master/design/28221-... Probably not. We can add things and we can opt-in remove things (e.g. user says they want v1.14 of language gets them new language features and…
comment by bradfitz · 2018-11-30 · in Go 2, here we come