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. …easy to fix if you stumble upon it after years of added cruft and changing requirements. [1]: https://github.com/golang/go/issues/12914
  2. …[2] https://github.com/cloudwego/goref/blob/main/docs/principle.... [3] https://github.com/golang/go/issues/57175
    comment by felixge · 2025-09-23 · in Go has added Valgrind support
  3. https://github.com/golang/go/issues/63904 Skimming this issue, it seems like they weren't expecting to be able to use this GC. I know C# couldn't either, at least based on an earlier state of the proposal.
    comment by davey48016 · 2025-09-17 · in WASM 3.0 Completed
  4. …But there are problems with supported types; see my other comments. 2) It is improved in 1.25. See https://github.com/golang/go/issues/59928 and https://pkg.go.dev/testing#T.Output . Now it is possible to update slogt to provide correct…
  5. …And some previous discussion. Frustrating! - https://pkg.go.dev/log/slog#example-package-Wrapping - https://github.com/golang/go/issues/59145#issuecomment-14770...
    comment by peterldowns · 2025-09-12 · in Logging in Go with Slog: A Practitioner's Guide
  6. ▲ 3
    Proposal: SIMD: architecture-specific SIMD intrinsics
    story by kristianp · 2025-09-11 · 0 comments
  7. Go doesn't yet have native SIMD support, but it actually might in the future: https://github.com/golang/go/issues/73787 I think when it's introduced it might be worth discussing that again. Otherwise providing assembly for JSON of all…
    comment by nasretdinov · 2025-09-09 · in A new experimental Go API for JSON
  8. …and reach a consistent solution (or as close as possible). This has been my favorite for a while: https://github.com/golang/go/issues/45624 4 years to decide on something relatively minor, that right now can be done with a bit of a…
  9. …to copy some files somewhere else, and then delete the directory. Unfortunately, you hit this https://github.com/golang/go/issues/32334 oops, looks like some files are just inaccessible to you, and you cannot copy them. Fortunately, when…
    comment by xyzzyz · 2025-08-23 · in Go is still not good
  10. …considered ownership semantics [2] Notable mentions: - No sum types - No string interpolation [1]: https://github.com/golang/go/issues/19623 [2]: https://news.ycombinator.com/item?id=39477821
    comment by Mawr · 2025-08-22 · in Go is still not good
  11. …and try to link with an application, you will have a terrible time. I've ran into this same issue: https://github.com/golang/go/issues/65050 https://www.youtube.com/watch?v=xuv9A7CJF54&t=440s
    comment by metaltyphoon · 2025-08-22 · in Go is still not good
  12. …strings or interfaces meet the alignment requirements. [1]: https://research.swtch.com/gorace [2]: https://github.com/golang/go/issues/61236 [3]: https://pkg.go.dev/github.com/CAFxX/atomic128
    comment by kbolino · 2025-08-22 · in Go is still not good
  13. …and "slices.Sort", "atomic.Pointer" and "atomic.Value", quite possible a sync/v2 soon https://github.com/golang/go/issues/71076 , etc. The old non-generic versions also aren't deprecated typically, so they're just there to trap people that…
    comment by TheDong · 2025-08-22 · in Go is still not good
  14. …clocks and every go program written is littered with terrible bugs due to use of the wrong clock https://github.com/golang/go/issues/12914 ( https://github.com/golang/go/issues/12914#issuecomment-15075... might qualify for the worst…
    comment by blibble · 2025-08-22 · in Go is still not good
  15. …isn't invalid UTF-8 but invalid UTF-16 (on Windows et al). AIUI Go had nasty bugs around this ( https://github.com/golang/go/issues/59971 ) until it recently adopted WTF-8, an encoding that was actually invented for Rust's OsStr. WTF-8 has…
    comment by duckerude · 2025-08-22 · in Go is still not good
  16. …is at least memory-aware, in that it endeavors to process objects close to one another together." https://github.com/golang/go/issues/73581
    comment by theobeers · 2025-08-22 · in Go is still not good
  17. ▲ 2
    Go SIMD dev branch
    story by cyber1 · 2025-08-21 · 0 comments
  18. …Being hungry and in a hurry doesn't help with remembering names. The GitHub discussion is there: https://github.com/golang/go/discussions/58409 but the words I of Russ I cited is here: https://groups.google.com/g/golang-dev/c/73vJrjQTU1M/m/…
    comment by bayindirh · 2025-08-19 · in "Remove mentions of XSLT from the html spec"
  19. A few more links that I collected recently on the topic https://github.com/golang/go/issues/73626 https://developer.mozilla.org/en-US/docs/Web/Security/Attack... https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...…
    comment by nchmy · 2025-08-13 · in Cross-Site Request Forgery
  20. So now there is at least a workaround to preserve the order when processing JSON. Great! [1] https://github.com/golang/go/issues/27179#issuecomment-22899...
    comment by kvemkon · 2025-08-13 · in Go 1.25 Release Notes
  21. …when 'regions' are introduced, which have similar performance benefits but a much lower API impact: https://github.com/golang/go/discussions/70257 As discussed there, seeing how people actually used the arena GOEXPERIMENT influenced the…
    comment by typical182 · 2025-08-13 · in Go 1.25 Release Notes
  22. If you look at the github issue related to the PR, you'll see some examples: https://github.com/golang/go/issues/56025#issuecomment-20667... Looks like the original poster on that thread is making it because Mailgun uses Go, and was…
    comment by TheDong · 2025-08-13 · in Go 1.25 Release Notes
  23. …the bug which was blogged about in "How we tracked down a Go 1.24 memory regression" [2,3]. [1] https://github.com/golang/go/issues/72991 [2] https://www.datadoghq.com/blog/engineering/go-memory-regress... [3]…
    comment by kristianp · 2025-08-13 · in Go 1.25 Release Notes
  24. > greentea I didn't know what it is and had to look it up. Looks like a new GC. https://github.com/golang/go/issues/73581
    comment by latchkey · 2025-08-12 · in Go 1.25 Release Notes
  25. 1.25 tag was released; https://github.com/golang/go/releases/tag/go1.25.0
    comment by bitbasher · 2025-08-12 · in Go 1.25 Release Notes
  26. …for func/fn and explicit return. Because the arrow would break stuff is one of the reasons. See https://github.com/golang/go/issues/59122 https://github.com/golang/go/issues/21498 res := is.Map(func(i int)int{return i+1}).Filter(func(i…
    comment by lenkite · 2025-08-10 · in Zig's Lovely Syntax
  27. …author replies they don't do that because the lack of inference makes for nasty boilerplate ( https://github.com/golang/go/issues/34510#issuecomment-53961... ).
    comment by masklinn · 2025-08-09 · in A subtle bug with Go's errgroup
  28. …shadowed `ctx` variable. There is an old issue in the tracker proposing changes to alleviate this: https://github.com/golang/go/issues/34510 . The original author (bcmills) of the errgroup package shared insight into the design…
    comment by dantillberg · 2025-08-09 · in A subtle bug with Go's errgroup
  29. …believe are just there to track dependencies that are not in the project, or to help with caching: https://github.com/golang/go/issues/36460 In go 1.17 they were added so that project loading did not require downloading the go.mod of every…
    comment by maxmcd · 2025-08-06 · in We shouldn't have needed lockfiles
  30. …But thank you for pointing that out. TIL, there's a single epoll queue for the whole Go process: https://github.com/golang/go/issues/65064
  31. https://github.com/golang/go/issues/34902 https://www.cloudfoundry.org/blog/cve-2020-15586/ I don’t see any evidence that anyone wrote an RCE exploit for this, but I also don’t see any evidence of anyone even trying to rule it out.
  32. …functions is moved onto the heap because interface{} is always counted as escaped from the stack ( https://github.com/golang/go/issues/8618 ).
    comment by fsmv · 2025-07-22 · in Go allocation probe
  33. …stuff? Probably not. This is usually done with EF Core and the Postgres provider. [0] https://github.com/golang/go/issues/51317 [1] https://www.nuget.org/
    comment by database64128 · 2025-07-20 · in C# Language Design Meeting for June 30th, 2025
  34. The trade off is discussed here: https://github.com/golang/go/issues/70835
  35. …doesn't have it yet. Go is headed strongly in that direction which is why I add the "yet", but see https://github.com/golang/go/issues/70128 , especially the "future directions" note about issue #48522 which is not implemented. Prepatory…
    comment by jerf · 2025-07-18 · in Row Polymorphic Programming
  36. …And the change makers even have no interests to fix the problems caused by the changes: * https://github.com/golang/go/issues/66070#issuecomment-19816... * https://github.com/golang/go/issues/71830 * https://github.com/spq/pkappa2/issues/23…
    comment by tapirl · 2025-07-10 · in Generic interfaces
  37. …so they become more widely known. The standard library is just starting to add generic containers: https://github.com/golang/go/issues/69559 And part of that is discussing how we want to do things like this:…
    comment by Merovius · 2025-07-08 · in Generic interfaces
  38. It's heavily used where you need performance, for example crypto. https://go.dev/wiki/AssemblyPolicy https://github.com/golang/go/tree/master/src/crypto/internal...
    comment by Thaxll · 2025-06-23 · in How to store Go pointers from assembly
  39. ▲ 108
    Green Tea Garbage Collector
    story by cirwin · 2025-06-14 · 11 comments
  40. …bump to v1.21.5 means it will only work on more recent computers and Win10 and 11 for no benefit. https://github.com/golang/go/issues/64622
    comment by pidgeon_lover · 2025-06-13 · in Show HN: I wrote a BitTorrent Client from scratch
  41. …heart of it all, it's all just the same. Here are enum implementations in both Go and Rust: [Go] https://github.com/golang/go/blob/f18d046568496dd331657df4ba... [Rust] https://github.com/rust-lang/rust/blob/40daf23eeb711dadf140b... While…
    comment by 9rx · 2025-06-10 · in Go is a good fit for agents
  42. …you import the os package, on startup, the open file soft limit will be raised to the hard limit: https://github.com/golang/go/commit/8427429c592588af8c49522c...
    comment by database64128 · 2025-06-06 · in Too Many Open Files
  43. …to leave the status quo as-is is probably one of the most favorably voted Go proposals of all time: https://github.com/golang/go/issues/32825 Go language design is not a popularity contest or democracy (if nothing else because it is not…
  44. …in this case. The most popular Go proposal/issue of all times was 'leave "if err != nil" alone': https://github.com/golang/go/issues?q=is%3Aissue%20%20sort%3...
  45. …to the wiki page for this: https://go.dev/wiki/Go2ErrorHandlingFeedback or the GitHub issue search: https://github.com/golang/go/issues?q=+is%3Aissue+label%3Aer... I promise that you are not the first to propose whatever you're proposing,…
  46. Not OP, but I found a compiler bug in the initial release of 1.18, though it was also quickly fixed: https://github.com/golang/go/issues/51733
  47. ▲ 5
    Green Tea Garbage Collector
    story by kristianp · 2025-06-01 · 1 comment
  48. The bug is confirmed: https://github.com/golang/go/issues/71685
    comment by tapirl · 2025-05-29 · in Pure vs. Impure Iterators in Go
  49. …I relatively recently ran into something similar to this on a fresh VM without internet egress: https://github.com/golang/go/issues/68976 https://github.com/golang/go/issues/68946 If golang doesn't fully address this I guess Debian really…
    comment by enfuse · 2025-05-22 · in Why does Debian change software?
  50. Oh heh yes it is. I just remembered the original discussion from 2019 ( https://github.com/golang/go/issues/33803 ) and grepped the source tree for cgroup to see if that got done or not, but didn't check when it got done. As said in 2019,…
    comment by yencabulator · 2025-05-21 · in Understanding the Go Scheduler