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. …restrictions will be removed from future Go versions. ref: * https://go101.org/generics/101.html * https://github.com/golang/go/issues/50646#issuecomment-10237... * https://github.com/golang/go/issues/51257 *…
    comment by tapirl · 2022-05-15 · in Golang Diaries: Generics
  2. …2) The bigger issue, that interfaces cannot require their implementations to be comparable, is https://github.com/golang/go/issues/52614 and linked tickets.
    comment by morelisp · 2022-05-15 · in Golang Diaries: Generics
  3. …work-stealing queues. These do a bit more though, as they also allow batch stealing operations. [1] https://github.com/golang/go/blob/master/src/runtime/proc.go... [2] https://tokio.rs/blog/2019-10-scheduler#a-better-run-queue
  4. …not have package level immutables that aren’t PODs. FWIW here is a proposal to expand const in Go: https://github.com/golang/go/issues/21130
    comment by catlifeonmars · 2022-05-14 · in Safer Enums in Go
  5. ▲ 1
    'go mod tidy' broken in Go 1.18 using go.work
    story by kbd · 2022-05-11 · 0 comments
  6. …but for posterity: The real motivation was actually a performance improvement, as can be seen at https://github.com/golang/go/commit/55c458e05f35d0d5d539107d...
    comment by averell · 2022-05-04 · in Go will use pdqsort in next release
  7. …It's been discussed for some time now but not yet available in go. It may hit 1.19 maybe... ( https://github.com/golang/go/issues/46787 )
    comment by viraptor · 2022-05-02 · in I won free load testing
  8. ▲ 1
    Go Runtime: Let sysmon sleep in netpoll if possible
    story by ngaut · 2022-04-30 · 0 comments
  9. …you've been following Go over the years, you'll know that there's basically _always_ open issues ( https://github.com/golang/go/issues/39063 ) in net & net/http about how Timeouts get mishandled and connections end up not being closed.…
    comment by busterarm · 2022-04-29 · in Lies we tell ourselves to keep using Golang
  10. …mature. The replace directive seems to solve the issues with forked projects in particular. [1] 1 - https://github.com/golang/go/wiki/Modules#when-should-i-use-...
    comment by p2detar · 2022-04-26 · in Effective Go
  11. …see this in the initialisation of the map iterator, it's even labelled with a nice little comment: https://github.com/golang/go/blob/master/src/runtime/map.go#...
    comment by masklinn · 2022-04-21 · in Go will use pdqsort in next release
  12. Currently sort is not guaranteed to be stable. https://github.com/golang/go/blob/master/src/sort/sort.go#L4...
    comment by skunkworker · 2022-04-21 · in Go will use pdqsort in next release
  13. ▲ 433
    Go will use pdqsort in next release
    story by ngaut · 2022-04-21 · 122 comments
  14. …indexes are like complex numbers - people who don't need them can't imagine why anyone else does. ( https://github.com/golang/go/issues/19921 ) For me, I frequently do math on the array index. Reverse loops are necessary sometimes (I can…
    comment by xscott · 2022-04-17 · in Choosing the Right Integers
  15. …precision in Go 2.0. But after five years of debate about “performance”, the proposal has stalled. https://github.com/golang/go/issues/19623
    comment by cpeterso · 2022-04-17 · in Choosing the Right Integers
  16. I am saying things like this: https://github.com/golang/go/blob/master/src/cmd/cgo/ast.go#... belong in the source code, not a Why doc. No variable naming can give that context.
  17. ▲ 26
    Request to remove tracking from Go websites
    story by zxwrt · 2022-04-15 · 6 comments
  18. sure - https://github.com/golang/go/issues/44167 . you'll see the new design the CPU util only increases in GC CPU utilizations when you're actually allocating heavily. which makes sense you're doing more work. this should completely…
  19. …or write code that assumes nothing on the heap moves and will explode if that ever changes. [1] https://github.com/golang/go/issues/46787
    comment by Dylan16807 · 2022-04-13 · in When to use generics
  20. …Maven and Gradle. I think I use only 4 commands daily to manage dependencies in Go, it's that easy: https://github.com/golang/go/wiki/Modules#daily-workflow
    comment by Thaxll · 2022-04-12 · in Get familiar with workspaces
  21. …a dot. There's a proposal, not yet accepted, to document this as a naming requirement for modules: https://github.com/golang/go/issues/32819 This is of course a looser requirement than "must be a domain name".)
    comment by cespare · 2022-04-01 · in Go mod’s lesser known features
  22. …the goal of 1.18 was to get the UX down, so I'm interested to see how it improves for 1.19. [0] https://github.com/golang/go/blob/master/src/internal/fuzz/m...
    comment by evmunro · 2022-03-29 · in Go Fuzz Testing
  23. https://en.wikipedia.org/wiki/Go!_(programming_language) There is another language called "Go!" https://github.com/golang/go/issues/9#issuecomment-66047478 Russ Cox's response was, "The naming similarity is unfortunate. However, there are…
  24. …even get into Go 1.19, if the branch is successfully merged in the next one or two months. [1]: https://github.com/golang/go/issues/46229
    comment by ainar-g · 2022-03-26 · in LoongArch Port Accepted into GCC
  25. ▲ 5
    Ask HN: Is there a portable encryption file format?
    story by binwiederhier · 2022-03-24 · 13 comments
  26. ▲ 7
    Go 1.18 compile time may be about 18% slower than Go.17 (generics)
    story by ttyp3 · 2022-03-23 · 2 comments
  27. …wasn't used. They fixed it in Monterey 12.2, but still hasn't backported. Heisenbug for sure. Ref: https://github.com/golang/go/issues/49233#issuecomment-96373...
    comment by klauspost · 2022-03-23 · in A one in a million bug in Switch kernel
  28. …I find it much easier to read https://pkg.go.dev/encoding/json than the dozen or so files in https://github.com/golang/go/tree/master/src/encoding/json Perhaps I'm misunderstanding your point.
    comment by maerF0x0 · 2022-03-22 · in Why Don't You Use
  29. …variability in the quality of responses. A "real" atoi implementation is not interview material: https://github.com/golang/go/blob/master/src/strconv/atoi.go... 3. I guess you could follow it up with questions on testing and error…
    comment by nieksand · 2022-03-22 · in Five coding interview questions I hate
  30. …just guessing, but it's probably (surprisingly) because of e.g slow directory traversal API in Go: https://github.com/golang/go/issues/42027 . In my experience the biggest slowdown is on a mac for whatever reason. And yes, probably APFS…
  31. …loudflare.com/how-and-why-the-leap-second-affe... > time: use monotonic clock to measure elapsed time https://github.com/golang/go/issues/12914
    comment by Gwypaas · 2022-03-21 · in Please put units in names
  32. …system libraries on macOS and it resulted in things breaking, so now they do use system libraries ( https://github.com/golang/go/issues/17490 ).
    comment by plorkyeran · 2022-03-17 · in C Isn't a Programming Language Anymore
  33. Oh yeah, this used to work but some go version ago it stopped working. See https://github.com/golang/go/issues/44840
    comment by ithkuil · 2022-03-15 · in Go 1.18
  34. …time and effort to be able to fix the issues of split DNS in macOS being broken unless using cgo. https://github.com/golang/go/issues/12524 This has been an open issue since 2015. It's a pain because every single last tool using go cross…
    comment by ArchOversight · 2022-03-15 · in Go 1.18
  35. …for example slices and maps that do not contain pointers do not get scanned by the GC ([1]). [1]: https://github.com/golang/go/commit/85e7bee19f9f26dfca414b1e...
    comment by Mawr · 2022-03-15 · in Go 1.18
  36. …confusion of the two languages, so we are closing this issue. Status changed to Unfortunate. https://github.com/golang/go/issues/9#issuecomment-66047478 Basically a sad trombone. The image of Go has never recovered in my eye.
    comment by ModernMech · 2022-03-15 · in Go 1.18
  37. …I pushed hard to get included during the feature freeze. Full details here, but a summary is below: https://github.com/golang/go/issues/51127 For the past ~8 years, many hundreds of people reported on GitHub - and likely many multiples…
    comment by AaronFriel · 2022-03-15 · in Go 1.18
  38. …already reasonably compatible. Unfortunately, the other ⅓ are among the most essential ones. [1]: https://github.com/golang/go/issues/48525
    comment by ainar-g · 2022-03-15 · in Go 1.18
  39. ▲ 7
    Go 1.18 (Go with generics) no blocking issues left
    story by phplovesong · 2022-03-15 · 2 comments
  40. ▲ 2
    Gofmt is keeping whitespaces, Go team is denying a fix
    story by minroot · 2022-03-15 · 2 comments
  41. …that attempts to load dynamically linked libraries on linux (and elsewhere on windows) without CGO: https://github.com/golang/go/issues/18296#issuecomment-46847...
  42. There is https://pkg.go.dev/golang.org/x/exp/slices . See also https://github.com/golang/go/issues/45955 .
  43. …separating downstream quality-of-life from the language proper seems to breed chaos. Example: https://github.com/golang/go/issues/24661 Until I have an extremely Go-shaped problem, I don't need that headache.
    comment by 6figurelenins · 2022-03-05 · in Go’s major versioning sucks – From a fanboy
  44. …gets the latest in major version series. This proposal appears to break that principal. Source: https://github.com/golang/go/issues/25518#issuecomment-39134...
    comment by paskozdilar · 2022-03-04 · in Go’s major versioning sucks – From a fanboy
  45. …returned nil, nil. This wasn't changed in a minor release. You can browse the source history here: https://github.com/golang/go/blame/master/src/debug/pe/file....
    comment by pipe_connector · 2022-03-04 · in Go’s major versioning sucks – From a fanboy
  46. SIV = Semantic Import Versioning [0] 0. https://github.com/golang/go/issues/44550
    comment by iandinwoodie · 2022-03-04 · in Go’s major versioning sucks – From a fanboy
  47. …than Haskell does. Every struct is its own runtime representation. If you change the example in https://github.com/golang/go/issues/48018 to use a pointer indirection, I think it should work.
    comment by lalaithion · 2022-03-01 · in How generics are implemented in Go 1.18
  48. 1.18 milestone still have a few issues left. https://github.com/golang/go/milestone/201
  49. …generics. The first release candidate came out 2 weeks ago. You can track the open issues here: https://github.com/golang/go/milestone/201
    comment by aaronbee · 2022-03-01 · in How generics are implemented in Go 1.18
  50. …like the full release will most likely still be in March. [1]: https://go.dev/blog/go1.18beta2 [2]: https://github.com/golang/go/issues?q=is%3Aopen+label%3Arele...