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. …Go, which includes a snippet to delete an element from a slice: a = append(a[:i], a[i+1:]...) [0] https://github.com/golang/go/wiki/SliceTricks
    comment by pansa2 · 2021-04-25 · in Rust Language Cheat Sheet
  2. ▲ 2
    Go: Switch to a register-based calling convention yields a 6% performance gain
    story by fredros · 2021-04-24 · 0 comments
  3. A fair question. I've opened an issue in Go suggesting some documentation improvements: https://github.com/golang/go/issues/45726
    comment by agwa · 2021-04-23 · in How to Interchange Ed25519 Keys
  4. …long. The Ed25519 functions check to make sure the key is the correct length before using them: https://github.com/golang/go/blob/d4bfe006155ea0d9c2970e22fc... The types would ideally use fixed-length arrays, but at the time the API was…
    comment by agwa · 2021-04-23 · in How to Interchange Ed25519 Keys
  5. > Wouldn’t you need some sort of length restriction on that? https://github.com/golang/go/blob/master/src/crypto/ed25519/... It seems it would indeed panic with an invalid size.
    comment by lawl · 2021-04-23 · in How to Interchange Ed25519 Keys
  6. …[1]: https://docs.docker.com/config/containers/resource_constrain... [2]: https://github.com/golang/go/issues/29696
  7. ▲ 2
    Go 1.17 will provide up to 10% better performance thanks to register-based ABI
    story by theBashShell · 2021-04-22 · 0 comments
  8. …proposal and working code, but I've struggled to get a review despite clear interest on the issue. https://github.com/golang/go/issues/37278 https://go-review.googlesource.com/c/crypto/+/220037/
    comment by hansnielsen · 2021-04-20 · in OpenSSH 8.6 Released
  9. Minutes ago I was wondering about https://play.golang.org/p/9C0puRUstrP (via https://github.com/golang/go/issues/23440 ). Thank you for explaining what's going on there! :) And btw, compiling the above example with -gcflags="-m" (which I…
  10. I asked that in the Github issue, response here: https://github.com/golang/go/issues/45624#issuecomment-82259... With my reply (and further exploration) here: https://github.com/golang/go/issues/45624#issuecomment-82263...
  11. I asked that in the thread, response here: https://github.com/golang/go/issues/45624#issuecomment-82259... With my reply (and further exploration) here: https://github.com/golang/go/issues/45624#issuecomment-82263... tl;dr: Go uses casts…
  12. ▲ 142
    Proposal: expression to create pointer to simple types
    story by jgrimm · 2021-04-19 · 103 comments
  13. Rob Pike filed this issue for it after the first incarnation of the article was released: https://github.com/golang/go/issues/36313
    comment by jordanlewis · 2021-04-16 · in My Go executable files are still getting larger
  14. …the Cockroach people to file a new one mentioning their findings, but don't quote me on that. [1]: https://github.com/golang/go/issues/6853
  15. ▲ 4
    Proposal: Generics: use type sets to remove type keyword in constraints
    story by robfig · 2021-04-02 · 0 comments
  16. …when you get familiar with the design. There are proposals to remove the new-gopher confusion. * https://github.com/golang/go/issues/22729 use different zero identifiers for different kinds of type * I remembered that there is a propsoal…
  17. Rabbit holes for you to chase[1][2][3][4][5] 1. https://github.com/golang/go/issues/29696 2. https://github.com/golang/go/issues/42430 3. https://github.com/golang/go/issues/44167 4. https://github.com/golang/go/issues/44309 5.…
    comment by komuW · 2021-03-30 · in Down the Golang Nil Rabbit Hole
  18. ▲ 1
    Go's x/crypto/openpgp is marked as frozen and deprecated
    story by victorheld · 2021-03-30 · 0 comments
  19. …gets basically everything about Go testing wrong. It even takes its arguments in the wrong order. https://github.com/golang/go/wiki/TestComments#assert-librar... https://github.com/golang/go/wiki/TestComments#got-before-wa... They did at…
    comment by jrockway · 2021-03-30 · in Down the Golang Nil Rabbit Hole
  20. …since `error` is an interface, and basically every package library would need to be rewritten. [1] https://github.com/golang/go/issues/30865
    comment by gwd · 2021-03-30 · in Down the Golang Nil Rabbit Hole
  21. …} ? I don't think that's common at all (1) nor is it a sane burden to put on developers. (1) https://github.com/golang/go/blob/master/src/bytes/buffer.go...
    comment by latch · 2021-03-30 · in Down the Golang Nil Rabbit Hole
  22. …www.practical-go-lessons.com/chap-41-cheatsheet , 2 Slices: "A good resource for playing with maps is https://github.com/golang/go/wiki/SliceTricks ". I think you meant slices instead of maps?
    comment by Zababa · 2021-03-25 · in Show HN: I wrote a book about Go
  23. ▲ 1
    Proposal: net/url: don't parse ';' as a separator in query string
    story by tosh · 2021-03-24 · 0 comments
  24. …[0], it looks like Go does use Knuth's algorithm when dividing arbitrary-precision integers. [0] https://github.com/golang/go/blob/2e94401277128f9e08e3319903...
  25. …with a completed 'go build'. Neat! I am looking forward to checking this little program out. [1] https://github.com/golang/go/issues/16104 [2] https://stackoverflow.com/a/21672312 [3] https://github.com/golang/go/issues/38373#issuecomment-7…
    comment by geocrasher · 2021-03-23 · in Tz: A Time Zone Helper
  26. …EDIT: Those are in the process of being replaced with //go:build directives. See https://github.com/golang/go/issues/41184 .
  27. …code[1], it seems like it does. From[2] it looks like it is only for platforms that have AES. 1. https://github.com/golang/go/blob/7bfe32f39c59056c49f5776b10... 2. https://github.com/golang/go/issues/9365
  28. https://github.com/golang/go/issues/45021
  29. …least a great reason why this 'test name with spaces' pattern isn't found in the standard library: https://github.com/golang/go/search?q=t.Run
  30. …interning implementation could be replaced with a proposed Golang weak reference map [0]. [0] https://github.com/golang/go/issues/43615
    comment by mleonhard · 2021-03-11 · in netaddr.IP: a new IP address type for Go
  31. …much state sits around idle). We also have a small fork of Go with some space-optimizing changes: https://github.com/golang/go/compare/master...tailscale:tail... (most of these changes get upstreamed, albeit delayed by one release cycle).…
    comment by dave_universetf · 2021-03-11 · in netaddr.IP: a new IP address type for Go
  32. …Go had a reputation for being condescending and opinionated, but I had no idea it was this bad. https://github.com/golang/go/issues/6189 https://github.com/golang/go/issues/26002 https://github.com/golang/go/issues/27746…
  33. I found the issue: https://github.com/golang/go/issues/6189
  34. There’s some ‘got’ and ‘want’ pointers in https://github.com/golang/go/wiki/TestComments . But yeah, I didn’t even realize this was a very Google thing :).
  35. ▲ 2
    Go Proposal: Optional SIV
    story by TheSwordsman · 2021-02-23 · 0 comments
  36. ▲ 121
    Add experimental fuzz test support for Go 1.17
    story by typical182 · 2021-02-23 · 30 comments
  37. …issue for GC tunables, but it's mostly where the various concern GC have gone to die so far: https://github.com/golang/go/issues/42430
  38. There's a proposal to put in official support for minimum heap size: https://github.com/golang/go/issues/44309
  39. …to the forced 2 minute max time between GC cycles [0], so a ballast wouldn't have helped here. [0]: https://github.com/golang/go/blob/0f66fb7b856b02497cf801ce72...
  40. It still seems to be working as you described. https://github.com/golang/go/blob/db8142fb8631df3ee56983cbc1...
    comment by scaladev · 2021-02-22 · in Go is not an easy language
  41. https://github.com/golang/go/wiki/SliceTricks I was reading through this, which was referenced from the article. This just seems insane. None of any of that seems intuitive.
    comment by fmakunbound · 2021-02-22 · in Go is not an easy language
  42. FWIW, the generics proposal was accepted: https://github.com/golang/go/issues/43651 This will make a generic "slices" package much more trivial to write.
    comment by SEJeff · 2021-02-22 · in Go is not an easy language
  43. …since it's a behavior change that would affect all existing middleware you try to use (see e.g. https://github.com/golang/go/issues/16542 ). You need to provide your own error handling middleware (of which several exist). A beginner needs…
  44. …bugs are being fixed and regression tests are added. You can see what issues are open and closed at https://github.com/golang/go/issues?q=is%3Aissue+label%3AArc... . The Wasm specification is also progressing over time, sometimes…
    comment by dmitshur · 2021-02-16 · in Go 1.16 Release Notes
  45. …layer cache, using this hack?[1][2] [1] https://github.com/montanaflynn/golang-docker-cache [2] https://github.com/golang/go/issues/27719
    comment by barosl · 2021-02-16 · in Go 1.16 Release Notes
  46. …slice tricks each time I have to implement complex data pipelines with different struct types. https://github.com/golang/go/wiki/SliceTricks Everybody is happy.
    comment by throw_m239339 · 2021-02-16 · in Go 1.16 Release Notes
  47. The reasoning is here: https://github.com/golang/go/issues/40255 Copy of part of it: 1) While 387 support isn’t a huge maintenance burden, it does take time away from performance and feature work and represents a fair amount of latent…
    comment by martisch · 2021-02-16 · in Go 1.16 Release Notes
  48. …recognise that the biggest benefit to a bigint type is making it the default integer type. [1]: https://github.com/golang/go/issues/19623
  49. ▲ 2
    Spec: Add generic programming using type parameters · Issue #43651 · Golang/go
    story by fossislife · 2021-02-15 · 0 comments
  50. …from multithreaded code[0] This was addressed in 2017/2018 [0], it's no longer a poor choice. [0]: https://github.com/golang/go/commit/2595fe7fb6f272f9204ca3ef...
    comment by xyzzy_plugh · 2021-02-11 · in Podman: A Daemonless Container Engine