Hacker GitHub

← All repos

golang/go

View on GitHub ↗ ★ 139,735 Go

The Go programming language

1,947 mentions on Hacker News by 1,181 people: 291 stories, 1,656 comments · first 2014-12-08 · latest 2026-10-22

Mentions per year 1,947 mentions · busiest year 2023 (221)
20082026
  1. …a big GC rework, part of which required fields not contain possibly-pointer-possibly-other-values. https://github.com/golang/go/issues/8405 Obviously this made people unhappy, so it kicked off several rounds of optimizations to claw back…
    comment by morelisp · 2022-01-26 · in Go is about to get faster
  2. …cool water and slowly brought to a boil, he will remain there until he is cooked through." [1]: https://github.com/golang/go/discussions/47203#discussioncom... [2]: https://www.python.org/dev/peps/pep-0572/#abstract
  3. …disagree with that viewpoint too, which is fair enough, but it's really quite a different one. [1]: https://github.com/golang/go/issues/15292
    comment by Beltalowda · 2022-01-23 · in Go is about to get faster
  4. …to the same object in a file system. --- Golang also seems vulnerable to the same issue https://github.com/golang/go/blob/d15481b8c7f5f73a8b987a0c1d... Line 78 checks that the path isn't a symlink (time-of-check). Then line 97 calls…
  5. 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…
  6. …their library, it might be a good solution until Go itself has better GC management. [1] https://github.com/golang/go/issues/5049 [2] https://github.com/golang/go/issues/16843 [3] https://github.com/golang/go/issues/29696 [4]…
    comment by atombender · 2022-01-12 · in Large-scale, semi-automated Go GC tuning
  7. https://github.com/golang/go/issues/44840
  8. …the order in the source code. So, currently, there is no way to force memory layout, other than, as https://github.com/golang/go/issues/10014#issuecomment-26346... says “defining the type using [n]byte and modifying the fields using the…
  9. Why Go doesn't do this by default: https://github.com/golang/go/issues/10014#issuecomment-91436... > It seems fine to me for the spec not to guarantee anything about struct field order in memory. The spec doesn't operate at that level. >…
  10. …leaked even into the kernel-space configuration where it would do more straightforward damage. [1] https://github.com/golang/go/issues/20427#issuecomment-36001... [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
    comment by mananaysiempre · 2022-01-04 · in C Runtime Overhead (2015)
  11. …post at [0], fix at [1]). [0]: https://marcan.st/2017/12/debugging-an-evil-go-runtime-bug/ [1]: https://github.com/golang/go/commit/a158382b1c9c0b95a7d41865...
    comment by aw1621107 · 2022-01-03 · in C Runtime Overhead (2015)
  12. …it actually used enough stack to overflow. Without a guard page, that caused memory corruption. [1] https://github.com/golang/go/issues/20427
    comment by scottlamb · 2022-01-03 · in C Runtime Overhead (2015)
  13. …behind the newest release to never be forced to do a major version update under time pressure. [0]: https://github.com/golang/go/wiki/MinorReleases
    comment by cube2222 · 2022-01-01 · in Go Fuzzing
  14. …of things that some languages (in this case Go) may parse differently than some web proxies: https://github.com/golang/go/issues/25192#issuecomment-80625... And a more overall argument that putting this "vulnerability" on the language…
  15. …languages, and should be used at the absolute minimum, or even omitted from a language entirely. https://github.com/golang/go/issues/45955#issuecomment-83235...
    comment by svnpenn · 2021-12-23 · in Three Minor Features in Go 1.18
  16. …real heap-allocated closure invocation on each loop. I think this is no longer true in Go 1.18, see https://github.com/golang/go/issues/14768#issuecomment-98175... .
    comment by felixge · 2021-12-22 · in Generics facilitators in Go
  17. Yes, after some discussion and minor modifications (and removal of a few features): https://github.com/golang/go/discussions/47323 ... I understand the motivation for this new package, but it does seem like a large API surface to have…
    comment by benhoyt · 2021-12-22 · in Three Minor Features in Go 1.18
  18. There's a proposal for the Go 2 draft that addresses this: https://github.com/golang/go/issues/20803 https://go.googlesource.com/proposal/+/master/design/go2draf...
    comment by geoka9 · 2021-12-17 · in Trying Out Generics in Go
  19. …reason is simple and compelling: It's too much to do all at once, and we might get it wrong." [0]: https://github.com/golang/go/issues/48918
  20. To be fair to the GP poster, they may have been making a joke[1]. [1] https://github.com/golang/go/issues/9#issue-51275878
  21. …compiler code itself is well documented, and Go's code navigation tooling itself helps learning. https://github.com/golang/go/tree/master/src/cmd/compile
  22. The Go compiler is about as straightforward as it can get. Just read the source: https://github.com/golang/go
  23. …later, which can be installed manually from the website, or installed via apt with a custom PPA ( https://github.com/golang/go/wiki/Ubuntu ) Thanks! I was about to give up PD: Couldn't install it either with the new binaries: "package…
  24. …later, which can be installed manually from the website, or installed via apt with a custom PPA ( https://github.com/golang/go/wiki/Ubuntu )
  25. There used to be one, but they took it out. https://github.com/golang/go/issues/28152
  26. …interfaces should never be used until there is a clear need. CodeReviewComments covers the basics: https://github.com/golang/go/wiki/CodeReviewComments#interfa... I wrote an insanely long rant about this with thorough examples using the…
  27. i think the parent was referring to https://github.com/golang/go/issues/45970
    comment by malaya_zemlya · 2021-11-22 · in Rust Moderation Team Resigns
  28. …any case, it seems like an issue was opened proposing something like that a couple of years ago ( https://github.com/golang/go/issues/23027 ), and Russ Cox responded that the JSON package is basically done, but you could either fork it and…
  29. There is also a gem inside from rsc: https://github.com/golang/go/issues/49569#issuecomment-96898... That's quality thinking!
  30. …exhaustive type switches would bring Go something close to the sum types of Rust and Swift. [0]: https://github.com/golang/go/issues/45346
    comment by ibraheemdev · 2021-11-15 · in A rough proposal for sum types in Go (2018)
  31. …are endless! They are a set of limited yet unvalidated translation DSLs stuffed into a string. https://github.com/golang/go/search?p=4&q=struct+tags&type=i... Personally I think the language would be better without them, but it's too late…
    comment by grey-area · 2021-11-10 · in Twelve Years of Go
  32. …be less clumsy once it arrives, but I strongly believe it is best to take it slow for now." [0] https://github.com/golang/go/issues/48918
    comment by kgeist · 2021-11-09 · in Upcoming Features in Go 1.18
  33. https://github.com/golang/go/issues/32437
    comment by morelisp · 2021-11-09 · in Upcoming Features in Go 1.18
  34. …| grep fork vfork() = 15 edit 2: here's a similar tale from go, replacing use of fork in fork/exec: https://github.com/golang/go/issues/5838 https://go-review.googlesource.com/c/go/+/37439/ https://about.gitlab.com/blog/2018/01/23/how-a-fix…
  35. This issue has been raised before, such as at https://github.com/golang/go/issues/20209 (I was reminded of that by https://twitter.com/peter_szilagyi/status/145515080347229798... ). There is some other interesting discussion there.
  36. …but never canceled. At least, that seems to be the behavior I see in the implementation here: https://github.com/golang/go/blob/master/src/context/context... So in this case, errgroup probably doesn't have a choice and needs to call…
    comment by reltuk · 2021-10-29 · in Error handling with errgroups
  37. …many cases it is possible to write code that does what generics would enable, if less smoothly. [1] https://github.com/golang/go/commit/dd64f86e0874804d0ec5b713...
    comment by tcard · 2021-10-28 · in Expectations for generics in Go 1.18
  38. The hybrid approach is absolutely implemented: https://github.com/golang/go/blob/master/src/cmd/compile/int...
    comment by mseepgood · 2021-10-28 · in Expectations for generics in Go 1.18
  39. …to the proposals for shorter Go error handling The community didn't like it and it was declined: https://github.com/golang/go/issues/32437#issuecomment-51203...
    comment by mseepgood · 2021-10-28 · in Expectations for generics in Go 1.18
  40. Related discussion from 10 days ago: go: don't change the libraries in 1.18 https://github.com/golang/go/issues/48918 https://news.ycombinator.com/item?id=28895440
    comment by oefrha · 2021-10-28 · in Expectations for generics in Go 1.18
  41. …your machine should still remain uncompromised. They release CVEs for any issues here (such as https://github.com/golang/go/issues/29231 ). Of course, if you run the code you compiled, that is unsafe, but just compiling it is supposed to…
  42. update: they missed implementing this and now go1.17 will be required to bootstrap go1.19+. https://github.com/golang/go/issues/44505#issuecomment-94259...
  43. …go1.4 up to 1.17 need to be built with 1.4. From 1.18 on, they need to be built with 1.16. See https://github.com/golang/go/issues/44505 .
  44. …one of the authors of TLS 1.3. He has refused to allow for configuration of TLS 1.3 ciphers in Go: https://github.com/golang/go/issues/29349 Thanks to this decision: if a particular cipher is found to be weak or vulnerable, people using Go…
  45. …would break backward compat. So there is basically an unfixable bug sitting in go html templates. https://github.com/golang/go/issues/9200
    comment by shp0ngle · 2021-10-17 · in Go: Don't Change the Libraries in 1.18
  46. …other perf ideas from LuaJIT) - The stop-the-world implementation is influenced by Go's design ( https://github.com/golang/go/blob/fad4a16fd43f6a72b6917eff65... )"
    comment by typical182 · 2021-10-15 · in A viable solution for Python concurrency
  47. …as a major problem[1][2]. [1] https://go.googlesource.com/proposal/+/master/design/go2draf... [2] https://github.com/golang/go/issues/32437#issuecomment-51203...
    comment by unscaled · 2021-10-04 · in Things Go needs more than generics
  48. …code. So you get zero readability gains at the price of two significant readability losses. --- [1] https://github.com/golang/go/issues/40432 [2] https://go.googlesource.com/proposal/+/master/design/go2draf... [3]…
    comment by unscaled · 2021-10-04 · in Things Go needs more than generics
  49. …that can be a nice evolution. [1] https://github.com/romshark/Go-1-2-Proposal---Immutability [2] https://github.com/golang/go/issues/27975
    comment by jicea · 2021-10-04 · in Things Go needs more than generics
  50. …it didn't know, but that caused issues on musl-based systems which used a different mechanism ( https://github.com/golang/go/issues/35305 ). And it cannot ever be fully static on glibc-based systems, since there's always the chance of…