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. …slower than native speed, significantly more so than than the equivalent slowdown for c/rust. see https://github.com/golang/go/issues/65440
  2. There are some discussions to add optional generational regions to Go: https://github.com/golang/go/discussions/70257
  3. …when has that stopped go? “[]rune(someString)” is O(n) and quite inobvious The O(n) loop is here: https://github.com/golang/go/blob/215de81513286c010951624243...
    comment by TheDong · 2025-02-09 · in Go Data Structures: Interfaces (2009)
  4. …for the steps to run and comparisons to make. Often you compare actual output with golden data. ( https://github.com/golang/go/tree/master/src/cmd/go/testdata... ) The tools have been extracted and made installable from here:…
    comment by verdverm · 2025-02-08 · in Show HN: Chez Scheme txtar port from Go
  5. Amusingly in go 1.24 they're turning srand into a nop: https://github.com/golang/go/issues/67273
  6. https://github.com/golang/go/issues/69536?ref=words.filippo.... https://words.filippo.io/dispatches/fips-hkdf/ Thought one of the Filippo/Go/FIPS posts had a big thread but doesn't look like it and/or can't find it.
    comment by pvg · 2025-02-06 · in Microsoft Go 1.24 FIPS changes
  7. …correct in assuming it's security theater at best, and an avenue for new backdoors at worst. [1] https://github.com/golang/go/issues/69536
    comment by yalue · 2025-02-06 · in Microsoft Go 1.24 FIPS changes
  8. …Linux 3.0. Microsoft Go fork: https://github.com/microsoft/go Issue discussing FIPS implementation: https://github.com/golang/go/issues/69536
    comment by infogulch · 2025-02-06 · in Microsoft Go 1.24 FIPS changes
  9. ▲ 4
    Go proposal: sync/v2: new package
    story by rednafi · 2025-02-06 · 0 comments
  10. The mechanism was reported last year: https://github.com/golang/go/issues/66653 but not acted on.
  11. ▲ 3
    Steam Freezes Go Applications
    story by __natty__ · 2025-02-03 · 0 comments
  12. ▲ 5
    Proposal: Sync/v2: New Package
    story by mmastrac · 2025-02-02 · 0 comments
  13. ▲ 1
    Proposal: Sync/v2
    story by todsacerdoti · 2025-02-02 · 0 comments
  14. …one, and it's just including this tiny "Make.dist" file that does nothing except invoke "go tool": https://github.com/golang/go/blob/master/src/Make.dist Wow. So useful. I clicked on the Rust one, and not only did it seem to be specific to…
    comment by coder543 · 2025-01-31 · in A better build system for OCaml
  15. …Rust https://github.com/rust-lang/rust/blob/master/tests/run-make... Go https://github.com/golang/go/blob/master/src/runtime/Makefil... NodeJS https://github.com/nodejs/node/blob/main/Makefile OCaml https://github.com/ocaml/ocaml/
    comment by dumah · 2025-01-31 · in A better build system for OCaml
  16. I created a new package for Multi-dimensional Tensor on Complex Numbers, since https://github.com/golang/go/issues/41129 and other similar attempts didn't work out. My need for such a Tensor package stems from my attempt to create this…
  17. …and now look completely natural. https://research.swtch.com/vgo-principles > type Duration int64 https://github.com/golang/go/blob/519c0a2323700934cbec97b75d... > default values https://gotipplay.golang.org/p/jS6wwznSR7F
    comment by jrimbault · 2025-01-31 · in Go Is a Well-Designed Language
  18. …domain-oriented objects, which is nice. Edit: looks like optional chaining is a separate proposal – https://github.com/golang/go/issues/42847
  19. ▲ 48
    Discussion: Reduce error handling boilerplate in Golang using '?'
    story by omani · 2025-01-28 · 91 comments
  20. …well enough and I frankly don't need see any benefits compared to it in this new approach. [1] https://github.com/golang/go/issues/42088
  21. UPD: check this github comment. https://github.com/golang/go/issues/48429#issuecomment-26184... basically it go tool relies heavily on go module pruning, so transitive dependencies from tools are not propagated downstream. also, official…
  22. …not propagate through the dependency tree downstream due to go module pruning check this comment: https://github.com/golang/go/issues/48429#issuecomment-26184... official docs: https://tip.golang.org/doc/modules/managing-dependencies#too...…
  23. proposal is closed and accepted by Go team. [~sigh] you can still leave comments in discussion issue: https://github.com/golang/go/issues/48429
  24. For the dev progress: https://github.com/golang/go/issues/54766
    comment by hencoappel · 2025-01-27 · in Maps are faster in Go 1.24
  25. …the whole service. Unless you're the default `net/http` library and simply recover from the panic: https://github.com/golang/go/blob/master/src/net/http/server...
  26. The difference between compiled code vs the code you wrote makes behaviours non-obvious. https://github.com/golang/go/issues/69887
  27. ▲ 5
    Golang proposal: reduce error handling boilerplate using?
    story by birdculture · 2025-01-14 · 1 comment
  28. ▲ 2
    Ask HN: When would you fork instead of waiting for proposal/PR acceptance?
    story by flashgordon · 2025-01-13 · 0 comments
  29. …from virtual memory in order to make any future accesses an error instead of a use-after-free bug. https://github.com/golang/go/issues/51317
  30. …know about it. Here is a relevant line from Go, even with a comment that it's about overflow: https://github.com/golang/go/blob/19e9231/src/sort/search.go...
  31. …101.org/blog/2024-03-01-for-loop-semantic-changes-... (It is long. A short important summary is here: https://github.com/golang/go/issues/66156 ) Currently (Go 1.24), the official team has not published a tool to identify all of the…
    comment by tapirl · 2025-01-03 · in Go Upgrade Checklist
  32. …breaks, and I can only remember one regression caused by a breaking change in a library[1]. [1] https://github.com/golang/go/issues/24211
    comment by physicles · 2025-01-02 · in Go Upgrade Checklist
  33. I fixed a single word typo in a doc string in github.com/golang/go, resulted in a CONTRIBUTORS entry and a endless torrent of spam from "headhunters".
  34. …an error, Go will just let you ignore it. This is a big issue with treating errors as values. https://github.com/golang/go/issues/20803
    comment by Capricorn2481 · 2024-12-19 · in Idiomatic Errors in Clojure
  35. ▲ 3
    Go proposal: finite type set interface as union type
    story by bheadmaster · 2024-12-10 · 0 comments
  36. …concurrent GCs are hard. For interfaces, the Go team chose one of a number of possible solutions: https://github.com/golang/go/issues/8405 If the language were to add support for union types, these tradeoffs could potentially be revisited.…
  37. …"tls: unknown certificate authority")): // handle unexported go stdlib error, XXX fix after https://github.com/golang/go/issues/35234 default: panic(fmt.Sprintf("unhandled error type: %v: %T", err, err)) } Like, for being a statically…
  38. …memory safe. However, once you start using goroutines there can be memory corruption and segfaults: https://github.com/golang/go/issues/37484 . Note that these are not recoverable panics (such as "writing to a close channel"), but causes…
    comment by judofyr · 2024-12-07 · in Weak pointers in Go: why they matter now
  39. …As for first entry, this has been discussed many times without ever reaching any consensus, see - https://github.com/golang/go/issues/19412
  40. …[1] https://github.com/jfhamlin/muscrat [2] https://pkg.go.dev/plugin [3] https://github.com/golang/go/issues/19282 [4] https://github.com/glojurelang/glojure/tree/808165fdc7e65672...
  41. https://tpaschalis.me/goroutines-size/ https://github.com/golang/go/blob/master/src/runtime/stack.g...
  42. …falls over if you breathe on it ( https://pkolaczk.github.io/overhead-of-optional/ ). According to https://github.com/golang/go/discussions/70257#discussioncom... > the weak generational hypothesis does not hold up well with respect to…
  43. …not to benefit when a significant fraction of the newborn objects don't even reach the youngen. See https://github.com/golang/go/discussions/70257#discussioncom... from the current discussion of adding opt-in ad-hoc support for memory…
  44. To be fair to those projects, the type was introduced only three years ago: https://github.com/golang/go/pull/49359/files Before that, doing a string compare was basically the only way to detect that specific error. That was definitely an…
    comment by gwd · 2024-11-21 · in Hyrum’s Law in Golang
  45. But it looks like that until 3 years ago, this string comparison was the only way to do it. https://github.com/golang/go/pull/49359/files
    comment by sssddfffdssasdf · 2024-11-21 · in Hyrum’s Law in Golang
  46. There is actually a proposal to make type constraints act as sum types: https://github.com/golang/go/issues/57644 But I doubt sum types will be supported perfectly in Go. The current poor-men's sum type mechanism (type-switch syntax) might…
    comment by tapirl · 2024-11-17 · in Constraints in Go
  47. …more limitations in current Go custom generics, much of them could be removed when this proposal ( https://github.com/golang/go/issues/70128 ) is done. I recommend people to read Go Generics 101 ( https://go101.org/generics/101.html ,…
    comment by tapirl · 2024-11-17 · in Constraints in Go
  48. …for sure. Go core team have admitted this but refused to fix it for Go 1.22.n toolchains: https://github.com/golang/go/issues/66092 And, even for the Go code with go.mod involved, there are some behavior change cases which will be not…
    comment by tapirl · 2024-11-12 · in Go Turns 15
  49. Tried to contribute to a Go project a few months ago and got bitten by https://github.com/golang/go/issues/67296 due to questionable doc quality. I was pretty disappointed to find that natural sort isn't builtin since Go was the Unicode…
    comment by a-french-anon · 2024-11-12 · in Go Turns 15
  50. …to the 3-clause "for;;" loops: * https://go101.org/blog/2024-03-01-for-loop-semantic-changes-... * https://github.com/golang/go/issues/66156 * https://x.com/zigo_101/status/1856173025839960333 * https://x.com/zigo_101/status/185491826252362…
    comment by tapirl · 2024-11-12 · in Go Turns 15