Hacker GitHub

← All repos

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

Mentions per year 100 mentions · busiest year 2017 (16)
20082026
  1. …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…
  2. …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
  3. …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…
  4. …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
  5. …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.
  6. 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-...
  7. 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…
  8. …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
  9. …optimization potential and adds a runtime cost to dispatch, at least in its initial implementation. https://github.com/golang/proposal/blob/master/design/generi...
  10. …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?
  11. 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
  12. …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
  13. …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-...
  14. …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
  15. …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
  16. …out of course, but it really isn’t a simple walk in the park. Any single aspect has a lot going on: https://github.com/golang/proposal/blob/master/design/generi... My hope is that the relatively mature ecosystem of Go will somewhat…
    comment by jchw · 2022-03-16 · in Go 1.18
  17. Go is not quite doing this level of expansion: https://github.com/golang/proposal/blob/master/design/generi... In particular, a single expansion is shared for all pointer types.
    comment by uluyol · 2022-03-15 · in Go 1.18
  18. …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
  19. ▲ 288
    How generics are implemented in Go 1.18
    story by komuW · 2022-03-01 · 215 comments
  20. ▲ 1
    How generics are implemented in Go 1.18
    story by komuW · 2022-03-01 · 0 comments
  21. ▲ 3
    Proposal: Headings, lists, and links in Go doc comments
    story by 0xedb · 2022-02-09 · 0 comments
  22. …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…
  23. 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…
  24. …[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
  25. …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...…
  26. …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
  27. …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…
  28. …and is closed. I would not represent that as anything else. The entire process is captured here: https://github.com/golang/proposal
  29. …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…
  30. 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.
  31. …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
  32. …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-...
  33. ▲ 1
    File System Interfaces for Go – Draft Design
    story by kevlar1818 · 2020-07-21 · 0 comments
  34. …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
  35. Seems like this has been merged: https://github.com/golang/go/issues/35112 https://github.com/golang/proposal/blob/master/design/35112-...
  36. …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
  37. …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
  38. …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-...
  39. …between the concrete types N and E, enabling callers to work with concrete types directly. [0] https://github.com/golang/proposal/blob/4a54a00950b56dd00964...
  40. …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))…
  41. ▲ 52
    Go's updated generic proposal (Contracts)
    story by simonz05 · 2019-07-27 · 61 comments
  42. …[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
  43. …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
  44. …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-...
  45. The full proposal is here: https://github.com/golang/proposal/blob/master/design/32437-...
  46. ▲ 131
    Proposal: A built-in Go error check function, try
    story by stablemap · 2019-06-05 · 118 comments
  47. …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...…
  48. Oooh I like the prospect of check(errProducingFunc()) https://github.com/golang/proposal/blob/master/design/go2dra...
  49. ▲ 2
    Proposal: Go 2 Number Literal Changes
    story by ainar-g · 2019-01-17 · 0 comments
  50. 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