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. …do (until they don't). Maybe they will add the virtual address space thing later. Edit: the issue ( https://github.com/golang/go/issues/51317 ) in which that comment was made also has some people referring to the arena being freed "when…
    comment by cormacrelf · 2023-01-17 · in Major standard library changes in Go 1.20
  2. …why it segfaults (the stack is even corrupted if you try to use gdb). You can read about it here: https://github.com/golang/go/issues/13492 Of course one could argue that's mostly Go's fault...
    comment by hardwaregeek · 2023-01-13 · in Alpine Linux in the Browser (2020)
  3. ▲ 2
    Go Slice Tricks
    story by nateb2022 · 2023-01-10 · 0 comments
  4. …The new notation is basically a shorthand and easier to discover than using *(*[3]string)(s): https://github.com/golang/go/issues/46505
    comment by martisch · 2023-01-10 · in Go 1.20
  5. > No other independent hosters are having issues. I could be wrong but in comments to https://github.com/golang/go/issues/44577 issue there at least 4 hosters that forced to manually disable background refresh because of this exactly issue?
  6. …you could have picked. You've wandered off the path at nearly every available opportunity. [0] https://github.com/golang/go/issues/44577#issuecomment-78531... [1] https://github.com/golang/go/issues/44577#issuecomment-85107...
  7. …/ sprawling open source projects is never quite perfect, but that's a little extra color... [0] https://github.com/golang/go/issues/44577 [1] https://github.com/golang/go/issues/44577#issuecomment-11378... [2]…
    comment by typical182 · 2023-01-09 · in Sourcehut will blacklist the Go module mirror
  8. …as you can comment on, say, github.com/facebook/zstd without a Facebook account, you can also comment on github.com/golang/go without a Google account.
    comment by Beltalowda · 2023-01-09 · in Sourcehut will blacklist the Go module mirror
  9. Supposedly the operator of sourcehut has been banned from posting to the Go issue tracker: https://github.com/golang/go/issues/44577#issuecomment-11378... So, obviously he's supposed to know the even more obscure and annoying method of…
  10. …of the GPG command line tool by applications" where, "shitty" is considered by some crossing a line https://github.com/golang/go/issues/30141#issuecomment-46427... Both are abrasive, but in my mind, this is a cultural issue. I grew up in a…
  11. https://github.com/golang/go/issues/30141#issuecomment-46427... I don't have a full list of all posts at hand (some of which may be removed), but I've seen some other similar stuff as well; it's not an isolated incident. I was reading…
    comment by Beltalowda · 2023-01-09 · in Sourcehut will blacklist the Go module mirror
  12. …to "reasonable defaults", so as a random person hosting a single Go module doesn't get DOSed - https://github.com/golang/go/issues/44577#issuecomment-86087... ?
    comment by throwaway_62022 · 2023-01-09 · in Sourcehut will blacklist the Go module mirror
  13. The other side: https://github.com/golang/go/issues?q=is%3Aissue+sort%3Aupda... Spoiler: Nothing. edit: Possibly not as much nothing, see the replies to [0]. But the GH search kinda sucks for this. [0]:…
  14. …For some reason he did not do this and instead chose an option that causes breakage. [1] https://github.com/golang/go/issues/44577#issuecomment-11378...
  15. …the standard library in a future release of Go [1] [0] https://pkg.go.dev/golang.org/x/exp/slog [1] https://github.com/golang/go/issues/56345#issuecomment-13520...
    comment by porjo · 2023-01-06 · in Go libraries you need to know
  16. ▲ 6
    Go proposal: sum types based on general interfaces
    story by todsacerdoti · 2023-01-06 · 1 comment
  17. …spent a lot of time dealing with Go's own reflect issue(i.e [0]) in its default implementation. https://github.com/golang/go/issues/15924
  18. Filed https://github.com/golang/go/issues/57530 .
    comment by joatmon-snoo · 2022-12-30 · in Golang disables Nagle's Algorithm by default
  19. …with an `iptables` rule [3]. My solution for now is to use a client that only uses HTTP/1.1. [1] https://github.com/golang/go/issues/36026#issuecomment-56902... [2] https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/ [3]…
  20. …DNS resolution on MacOS can cause all DNS requests on the system to begin to fail until a restart. https://github.com/golang/go/issues/52839
    comment by SomaticPirate · 2022-12-30 · in Golang disables Nagle's Algorithm by default
  21. …back the ability to turn NODELAY on and off, it was actually in the networking code from the start https://github.com/golang/go/blob/e8a02230/src/lib/net/net.g...
    comment by Game_Ender · 2022-12-30 · in Golang disables Nagle's Algorithm by default
  22. …back into a general library and go other with a pass from gofmt, all over a "short" 14 years. 0 - https://github.com/golang/go/commit/e8a02230f215efb075cccd41... 1 - https://github.com/golang/go/blob/e8a02230f215efb075cccd4146...
    comment by Game_Ender · 2022-12-30 · in Golang disables Nagle's Algorithm by default
  23. It's been in the code base from the start: https://github.com/golang/go/blob/e8a02230/src/lib/net/net.g...
  24. …I originally linked to the wrong review. It's been there since the initial commit of networking: https://github.com/golang/go/commit/e8a02230f215efb075cccd41...
  25. Btw, here's the line on github: https://github.com/golang/go/blob/fbf763fd1d6be3c162ea5ff3c8...
  26. …for example, time.Time.In [2] could be a good startpoint to learn how they do the conversion. [1]: https://github.com/golang/go/tree/master/src/time [2]: https://github.com/golang/go/blob/38cfb3be9d4868334562767771...
  27. A wonderfully Go-like piece of magic: https://github.com/golang/go/blob/go1/src/pkg/image/gif/read... What's magic there seemed magical at the time because even Go's creators were only just coming to see the power of interfaces then. Now,…
  28. …of "proprietary" in the open source world. And, well, that ISO standard is itself copyrighted. [1]: https://github.com/golang/go/blob/master/LICENSE Edit: You shouldn't delete and re-write your comments. Here's the original comment I…
    comment by woodruffw · 2022-12-23 · in Ask HN: Learn C in 2023?
  29. ▲ 3
    Custom Memory Arenas/Allocators in Golang
    story by truth_seeker · 2022-12-23 · 0 comments
  30. ▲ 2
    Proposal: Slices: new standard library package based on x/exp/slices
    story by mfrw · 2022-12-22 · 0 comments
  31. …...). This can lead to "fun" issues where the behavior between resolvers diverges, such as https://github.com/golang/go/issues/15419 ." This is also not incorrect: "By default the pure Go resolver is used, because a blocked DNS request…
    comment by bogomipz · 2022-12-22 · in The life of a DNS query in Kubernetes
  32. …). This can lead to "fun" issues where the behavior between resolvers diverges, such as https://github.com/golang/go/issues/15419 .
    comment by dpifke · 2022-12-22 · in The life of a DNS query in Kubernetes
  33. …the original issue in the Golang repo about possible uses for a standard library hash function: https://github.com/golang/go/issues/21195 And you're right, the Trie implementation linked there was indeed a Hash-Array Mapped Tried:…
    comment by awmarthur · 2022-12-21 · in Hacking Go's runtime with generics
  34. ▲ 1
    Test timeout panic trace is attrib to running test, even if the test just passed
    story by ghuntley · 2022-12-14 · 0 comments
  35. …the time. It's almost certainly better nowadays. Hopefully the Go runtime starts doing it instead: https://github.com/golang/go/issues/31908
  36. …instead of googling them? Here, why ISO 8601 support was dropped (spoiler: it's an unparsable mess) https://github.com/golang/go/issues/734 Design mistake )))
  37. …change wasn't accepted, but this[1] alternative will be. That seems like a great change to me. [1]: https://github.com/golang/go/issues/51365
    comment by fideloper · 2022-12-11 · in New in Go 1.20: wrapping multiple errors
  38. …should greatly simplify debugging, and avoid the common generic "context canceled" errors. [1]: https://github.com/golang/go/issues/46273
  39. ▲ 5
    proxy.golang.org issues affecting 'go get'
    story by mariusor · 2022-12-09 · 3 comments
  40. ▲ 1
    Go: Add support for wrapping multiple errors
    story by luu · 2022-12-05 · 0 comments
  41. ▲ 2
    Go to Receive Multipe Error Wrapping – Fixing a Common Complaint
    story by veqq · 2022-11-30 · 1 comment
  42. …the problem is old and well-known, and has quite a few tickets open on the golang bug tracker: https://github.com/golang/go/issues/47979 - the attributes exposed by marshaling libraries are different from one library to the next... i mean…
  43. …at all my experience. I had the compiler panic on me for daring to run "go get", as described here: https://github.com/golang/go/issues/47979 This issue has now been closed, but there are several others open with the same symptoms. The…
  44. …in 2009ish, they doubled down on it. Here in 2022, they finally opened it back up for discussion. https://github.com/golang/go/discussions/56010
    comment by bb88 · 2022-11-26 · in The Origins of Python
  45. > what's missing from Go that makes that impossible? The language maintainers don't want to add it: https://github.com/golang/go/issues/19412
    comment by satvikpendem · 2022-11-23 · in Using Rust at a startup: A cautionary tale
  46. There are some folks working on porting SwissTable to Go: https://github.com/golang/go/issues/54766 What’s holding it back currently is coming up with a way to do incremental rehash, which Go’s current map provides.
    comment by aaronbee · 2022-11-20 · in Inside boost::unordered_flat_map
  47. Russ Cox explains in the issue why they don't want it to be a standard library function: https://github.com/golang/go/issues/56351#issuecomment-12914... "We talked about defining maps.Clear in #55002, but how? It would not be possible to…
    comment by mseepgood · 2022-11-19 · in Go 1.21 may have a clear(x) builtin
  48. …because it's a little bit outside the "mainstream path", and calls it "badly documented". [1]: https://github.com/golang/go/issues/26492 [2]: https://duckduckgo.com/?q=go+compile+static
    comment by Beltalowda · 2022-11-11 · in Thirteen Years of Go
  49. …as the Go project discovered (after having been warned multiple times) during the Sierra betas: https://github.com/golang/go/issues/16272 https://github.com/golang/go/issues/16606 That doesn't mean Apple goes outs of its way to break…
    comment by masklinn · 2022-11-09 · in Why is Rosetta 2 fast?
  50. …they do the default, nor consider the impact of other language changes on your micro-optimizations. https://github.com/golang/go/blob/master/src/runtime/map.go You also won't have `for k, v := range` iteration, but that is also likely…
    comment by morelisp · 2022-11-08 · in Maps and Memory Leaks in Go