Hacker GitHub

← All repos

golang/go

View on GitHub ↗ ★ 139,546 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. There's a huge discussion here, if you're interested: https://github.com/golang/go/issues/19814 TBH I thought adding enums was a cut and dried case until reading through some opposing opinions. Now I'm not so sure.
    comment by 0xFACEFEED · 2020-02-23 · in The Zen of Go
  2. …Go mobile[2]. [0] - https://ionicframework.com [1] - https://capacitor.ionicframework.com [2] - https://github.com/golang/go/wiki/Mobile
  3. You get problems like this, which you don't get in traditional OO languages: https://github.com/golang/go/issues/16474
    comment by apta · 2020-02-23 · in The Zen of Go
  4. …some of their design decisions are objectively bad, and go against their claim in the first place: https://github.com/golang/go/issues/16474
    comment by apta · 2020-02-23 · in The Zen of Go
  5. Also related: https://github.com/golang/go/issues/36177#issuecomment-56767...
    comment by mseepgood · 2020-02-19 · in Generics in Go with Ian Lance Taylor (2019)
  6. Seems like this has been merged: https://github.com/golang/go/issues/35112 https://github.com/golang/proposal/blob/master/design/35112-...
  7. …-ldflags '-extldflags "-fno-PIC -static"' -buildmode pie -tags 'osusergo netgo static_build' See https://github.com/golang/go/issues/26492
    comment by zegl · 2020-02-11 · in I Was Wrong about Nix
  8. …ub.docker.com/_/scratch/?tab=description [2]: https://github.com/GoogleContainerTools/distroless [3]: https://github.com/golang/go/commit/62f0127d8104d8266d9a3fb5... [4]: https://d7y.io/en-us/docs/userguide/download_files.html
    comment by hardwaresofton · 2020-02-11 · in I Was Wrong about Nix
  9. ▲ 1
    Go proposal: error passing with “pass”
    story by bitt · 2020-02-10 · 1 comment
  10. …go. They maintain one compiler and two front ends: llvm: https://go.googlesource.com/gollvm/ gcc: https://github.com/golang/gofrontend Go: https://github.com/golang/go/tree/master/src/cmd/compile And I believe all three are maintained by…
  11. …doesn't make that much of a difference. See this commit for actual benchmarks about the impact: https://github.com/golang/go/commit/3be4d95731a17073afb1f69b...
    comment by TheNorthman · 2020-02-07 · in Python dicts are now ordered
  12. In case anyone else is curious: https://github.com/golang/go/issues/6719
    comment by ivanfon · 2020-02-07 · in Python dicts are now ordered
  13. ▲ 4
    Go Wiki – Webassembly
    story by bigato · 2020-02-05 · 0 comments
  14. Why /does/ it run a GC every 2 minutes? I went looking and didnd't find a reason in the code... https://github.com/golang/go/search?q=forcegcperiod&unscoped... Go's GC seems kind of primitive.
    comment by fmakunbound · 2020-02-04 · in Why Discord is switching from Go to Rust
  15. https://github.com/golang/go/blob/e6ebbe0d20fe877b111cf4ccf8... Ouch, Go never ceases to amaze. The Bitbucket case[0] is even more crazy, calling out to the Bitbucket API to figure out which VCS to use. It has a special case for private…
    comment by Nullabillity · 2020-02-04 · in Why Discord is switching from Go to Rust
  16. …replacing string keys with fixed size byte arrays. Curious if you experimented this approach? [0] https://github.com/golang/go/issues/9477 [1] https://go-review.googlesource.com/c/go/+/3288
  17. …best I've seen against try. (apologies for indentation change - not sure why hn can't preserve it) https://github.com/golang/go/issues/32437#issuecomment-49893... ________________________________________________________________ I actually…
    comment by pleasenotry · 2020-01-29 · in Proposals for Go 1.15
  18. …you can't guarantee clients will be able to use ECC. See this issue (from my initial link): https://github.com/golang/go/issues/20058
    comment by grammarxcore · 2020-01-29 · in Proposals for Go 1.15
  19. All of the Go commits are public, you can look at them for yourself: • https://github.com/golang/go/graphs/contributors • https://github.com/golang/build/graphs/contributors Brad also once gave a lightning talk about HTTP/2 that had 80+…
    comment by shurcooL · 2020-01-28 · in An Update on Bradfitz: Leaving Google
  20. …it obscures stack traces so that it's impossible to use them to locate panic in decorated handler: https://github.com/golang/go/issues/27375
  21. Looks like Go v2 might get decimal floating point numbers support: https://github.com/golang/go/issues/19787
    comment by gdm85 · 2020-01-25 · in Using floating-point numbers for money
  22. …file? It's meant to be used for exactly this purpose and the wiki uses the fork example as well: https://github.com/golang/go/wiki/Modules#when-should-i-use-...
    comment by PhilippGille · 2020-01-22 · in Go's Tooling Is an Undervalued Technology
  23. https://github.com/golang/go/compare/master...kstenerud:mast... > this commit will not go into mainline go Truly unfortunate. I don't write Go, but so often I comment out large swaths of code for debugging purposes and get warnings for…
  24. This workflow works fine for me: https://github.com/golang/go/wiki/Ubuntu
    comment by AlexCoventry · 2020-01-22 · in Go's Tooling Is an Undervalued Technology
  25. …attempts to reduce the repetitive `if err != nil { ... }` through some abstraction failed. Look at https://github.com/golang/go/issues/32825
    comment by mfateev · 2020-01-11 · in Goodbye, Clean Code
  26. ▲ 1
    Go Modules Wiki
    story by alexellisuk · 2020-01-11 · 0 comments
  27. Indeed! Even the Go wiki advocates exactly what you're saying about looking at the tradeoffs: https://github.com/golang/go/wiki/MutexOrChannel
    comment by shabbyrobe · 2020-01-07 · in Go Things I Love: Channels and Goroutines
  28. …be addressed in Go 1.14 (although it's been marked as Backlog since I last looked at that issue). https://github.com/golang/go/issues/32492 Point being Go, like OP of this thread suggests, has some issues. This is, to me, a critical flaw…
    comment by grammarxcore · 2020-01-06 · in Always Review Your Dependencies, AGPL Edition
  29. …been made (see links in the thread), it's not a global fix and Go ciphers can be absysmally slow. https://github.com/golang/go/issues/20058 The recommended fix is to use a library like this one. However, that means your containers blow up…
    comment by grammarxcore · 2020-01-06 · in Always Review Your Dependencies, AGPL Edition
  30. …complaining about the difficulty of obtaining a static build in Go: There's an issue for that. ( https://github.com/golang/go/issues/26492 ) Drew definitely knows, he left an incredibly unhelpful comment there yesterday.
    comment by majewsky · 2020-01-04 · in Hello World
  31. Rob Pike submit issue: https://github.com/golang/go/issues/36313
    comment by todotask · 2019-12-30 · in Why are my Go executable files so large?
  32. In fact, there's a new issue opened (again, from Rob Pike) in response to this article: https://github.com/golang/go/issues/36313
    comment by syockit · 2019-12-30 · in Why are my Go executable files so large?
  33. …tickets a few weeks ago and they explained why the Go developers haven't yet made this change. [0] https://github.com/golang/go/issues/18597 [1] https://github.com/golang/go/issues/27539
  34. Great writeup, I believe there is a open issue from Rob Pike 2013 this would fall under: https://github.com/golang/go/issues/6853
  35. …of are using in the wild. see https://blog.twitch.tv/en/2019/04/10/go-memory-ballast-how-i... and https://github.com/golang/go/issues/23044 . A golang team member's reasons for not adding a minimum heap size include that it would require…
  36. …Go has no proper solution see https://blog.twitch.tv/en/2019/04/10/go-memory-ballast-how-i... and https://github.com/golang/go/issues/23044
  37. > NOWHERE IN THE SOURCE CODE IS THIS FACT DOCUMENTED. The referenced commit ( https://github.com/golang/go/commit/675eb72c285cd0dd44a5f280... ) has /* SIGSETXID; see issue 3871, 9400 /, / SIGCANCEL; see issue 6997 */ > The way things…
    comment by cornishpixels · 2019-12-19 · in Rob Pike on good commit messages (2014)
  38. For those Gophers reading this and sobbing silently, there may be hope: https://github.com/golang/go/issues/27589
    comment by inputespresso · 2019-12-11 · in API Practices If You Hate Your Customers
  39. …are worse things in the world, still it's the reason why I don't use go any more. More examples: https://github.com/golang/go/wiki/SliceTricks
  40. ▲ 1
    Summary of the Go runtime memory corruption bug+fix on Linux 5.2
    story by dcu · 2019-12-05 · 0 comments
  41. …improvement might be having a way to say "give me just the security fixes"." It's already possible: https://github.com/golang/go/wiki/Modules https://github.com/golang/go/wiki/Modules#how-to-upgrade-and...
    comment by Thaxll · 2019-12-03 · in The Principles of Versioning in Go
  42. …like this, where you don't care about wasting a bit more RAM but do care about the GC work: https://github.com/golang/go/issues/23044 It references a patch to add a SetMaxHeap call, which could help in these kinds of situations too.
  43. …to work this out and relevant people are working on this makes a strong argument for go IMO. https://github.com/golang/go/issues/23044
  44. …post from 2017: "Debugging an evil Go runtime bug" - https://news.ycombinator.com/item?id=15845118 https://github.com/golang/go/issues/20427 https://bugs.gentoo.org/637152 https://lkml.org/lkml/2017/11/10/188
  45. The issue that led to this bug report: https://github.com/golang/go/issues/35326
    comment by jameskilton · 2019-11-27 · in AVX register corruption from signal delivery
  46. …Linux kernels break the recently integrated goroutine preemption logic. There is deep analysis here https://github.com/golang/go/issues/35326#issuecomment-55821... They have bisected the kernel and found that…
  47. ▲ 1
    Go issue: memory corruption on Linux 5.3.x from async preemption
    story by alderz · 2019-11-26 · 1 comment
  48. …:= len(a)-1-i a[i], a[opp] = a[opp], a[i] } This seems quite error prone. Idiomatic Go taken from https://github.com/golang/go/wiki/SliceTricks
    comment by millstone · 2019-11-17 · in The Value in Go’s Simplicity
  49. …reasoning unconvincing? [1] https://blog.twitch.tv/en/2019/04/10/go-memory-ballast-how-i... [2] https://github.com/golang/go/issues/23044
    comment by MaulingMonkey · 2019-11-16 · in GC Fun at Twitch
  50. There is internal work on a SetMaxHeap API: https://github.com/golang/go/issues/23044 (there's a review of related code at https://groups.google.com/forum/#!topic/golang-codereviews/b... ). It isn't perfect (notably, heap size and process…
    comment by twotwotwo · 2019-11-15 · in GC Fun at Twitch