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. 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
  2. …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
  3. …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
  4. 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.
  5. 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…
  6. …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
  7. …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
  8. …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
  9. …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
  10. 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…
  11. …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
  12. …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
  13. …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
  14. …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
  15. …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…
  16. …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
  17. …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
  18. 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
  19. …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
  20. …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
  21. …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
  22. …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
  23. …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
  24. …that attempts to load dynamically linked libraries on linux (and elsewhere on windows) without CGO: https://github.com/golang/go/issues/18296#issuecomment-46847...
  25. There is https://pkg.go.dev/golang.org/x/exp/slices . See also https://github.com/golang/go/issues/45955 .
  26. …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
  27. …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
  28. …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
  29. 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
  30. …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
  31. 1.18 milestone still have a few issues left. https://github.com/golang/go/milestone/201
  32. …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
  33. …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...
  34. …Go from earlier versions written in C - but in fact the bootstrapping process may change soon, see https://github.com/golang/go/issues/44505
    comment by Jabbles · 2022-02-27 · in Don't Write a Programming Language
  35. Clearly nobody ever manages to use this Go thing with over 700: https://github.com/golang/go/issues . Or .net, over 5000 issues for the compiler alone: https://github.com/dotnet/roslyn . I'd guess stuff like Java, glibc would be similar if…
    comment by Macha · 2022-02-26 · in Announcing Actix Web v4.0
  36. In case you miss it, the link to found bug list: https://github.com/golang/go/wiki/Fuzzing-trophy-case
    comment by fulafel · 2022-02-18 · in Internals of Go's new fuzzing system
  37. Here you go: https://github.com/golang/go/issues/26520
    comment by heavyset_go · 2022-02-18 · in Go 1.18 RC1 is out
  38. See this issue: https://github.com/golang/go/issues/26520
    comment by heavyset_go · 2022-02-18 · in Go 1.18 RC1 is out
  39. …and arrays, which is important but too high of a bar for a simple, safe in-place filter. [0]: https://github.com/golang/go/wiki/SliceTricks#additional-tri...
    comment by akshayshah · 2022-02-17 · in Go 1.18 RC1 is out
  40. Here is what I wrote in 2020: https://github.com/golang/go/issues/37862#issuecomment-60181... They closed the issue and asked to write it again while ignoring the concerns. In general, I think a few of us are disappointed. It felt like…
    comment by cientifico · 2022-02-16 · in Godocs.io One Year Later
  41. …as recommended by Go team but no dice[1]. There are others who have complained the same on SO. [1] https://github.com/golang/go/issues/41310
  42. …question was regarding it's implementation using other languages and general experience of it. [1] https://github.com/golang/go/issues/28631
  43. …guy and then pissing on ten years of his work with a go fuck yourself in the form of this commit. https://github.com/golang/go/issues/9
    comment by throwawaygjdbsj · 2022-02-14 · in The Go language's first commit (1972)
  44. …@-things and confuse that for "documentation". Writing one or two paragraphs is often clearer. [1]: https://github.com/golang/go/discussions/48305
    comment by Beltalowda · 2022-02-13 · in Go Annoyances
  45. …curious, here are the links to the source code for the functions referenced in the article: * GC: https://github.com/golang/go/blob/go1.16/src/runtime/mgc.go#... * gcWaitOnMark: https://github.com/golang/go/blob/go1.16/src/runtime/mgc.go#..…
    comment by throwaway894345 · 2022-02-07 · in Dumpster diving the Go garbage collector
  46. Two Go 2 proposals that interested me were: * nillability annotations: https://github.com/golang/go/issues/49202 * Change int from a machine word size (int32 or int64) to arbitrary precision (bigint): https://github.com/golang/go/issues/196…
    comment by cpeterso · 2022-02-04 · in What I'd like to see in Go 2.0
  47. …exhaustive type switches would bring Go something close to the sum types of Rust and Swift. [0]: https://github.com/golang/go/issues/45346
    comment by ibraheemdev · 2022-02-04 · in What I'd like to see in Go 2.0
  48. …also dislike many things from Go, and I want "enums" badly too, but that's for another comment. [0] https://github.com/golang/go/issues/28987#issuecomment-49679...
    comment by slx26 · 2022-02-04 · in What I'd like to see in Go 2.0
  49. …operation case <-time.After(5*time.Second): return fmt.Errorf("timeout") } } Which goes along w/ https://github.com/golang/go/wiki/CodeReviewComments#indent-... of "Indent error flow". edit: nvm, your break would be blocked until one of…
    comment by schrodinger · 2022-02-04 · in What I'd like to see in Go 2.0
  50. …to run the interpreter. Moreover, thus far, a DFA matcher is out of a picture, as discussed here: https://github.com/golang/go/issues/11646 .
    comment by smasher164 · 2022-02-04 · in Go performance from version 1.2 to 1.18