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. …to change the data a little. -- 1: https://github.com/alecthomas/go_serialization_benchmarks 2: https://github.com/golang/go/issues/29766#issuecomment-45492... -- 3: https://github.com/goccy/go-json 4:…
    comment by emmanueloga_ · 2023-12-04 · in Gobs of data (2011)
  2. There's going to be experimental support for built-in iteration in 1.22: https://github.com/golang/go/issues/61897
  3. …Ory Fosite is a great alternative too https://github.com/ory/fosite Support PKCE #59835 in x/oauth2 https://github.com/golang/go/issues/59835 Scott Brady's content is great for undetstanding the topic SPA Identity and Access Control with…
  4. …For netpoll, it looks to be just a cyclic epoch counter, so the size doesn't really matter: https://github.com/golang/go/blob/4956c3437bd2f4448bcec51321... For use in malloc, it's assumed to be >=10 and verified at init:…
    comment by yencabulator · 2023-11-27 · in Storing data in pointers
  5. …Go folks are smart, and must be doing this for a reason. Can anyone explain the thinking here? [0] https://github.com/golang/go/blob/master/src/runtime/tagptr_...
    comment by marcus_holmes · 2023-11-27 · in Storing data in pointers
  6. …well (same as you'd have to do in Go))), otherwise it would cause both portability and security ( https://github.com/golang/go/issues/2630 ) issues. You should probably be using a b-tree if you aren't willing to sort it yourself. I think…
  7. …well (same as you'd have to do in Go))), otherwise it would cause both portability and security ( https://github.com/golang/go/issues/2630 ) issues. You should probably be using a b-tree if you aren't willing to sort it yourself. > modding…
    comment by thegeekpirate · 2023-11-26 · in Making games in Go for absolute beginners
  8. …We've built this code navigation infra on top of Zoekt into Sourcegraph. Example: https://sourcegraph.com/github.com/golang/go/-/blob/src/net/... Docs: https://docs.sourcegraph.com/code_navigation/explanations/pr...
  9. …it occurs? Not really. > such as Go's os.Setenv (Go issue) Here is the link to the "issue": https://github.com/golang/go/issues/63567 What kind of actual real life production code would continuously set envvars while simutaneously calling…
  10. …this. You're welcome to contribute. It took me a minute to find these proposals, as examples: https://github.com/golang/go/issues/57644 https://github.com/golang/go/issues/19412 I interpret your comments as propagating FUD in bad faith.
    comment by xyzzy_plugh · 2023-11-19 · in NilAway: Practical nil panic detection for Go
  11. …panics in production. There was a proposal to add this to the runtime, but it got turned down: https://github.com/golang/go/issues/32333 Most of the arguments against the proposal seem to be that it is hard to determine what is safe to run…
    comment by __turbobrew__ · 2023-11-18 · in NilAway: Practical nil panic detection for Go
  12. …see any particular mention of syntax decision to performance in the initial spec document [2]. [2] https://github.com/golang/go/blob/18c5b488a3b2e218c0e0cf2a7d...
    comment by lifthrasiir · 2023-11-15 · in A decade of developing a programming language
  13. …https://github.com/microsoft/vcpkg https://github.com/PowerShell/PowerShell https://github.com/golang/go https://github.com/Netflix/zuul
    comment by Always_Anon · 2023-11-15 · in Did Reddit just denylist all IPs?
  14. …rather than curiosity. To me, it just asks for examples. I guess that's a matter of opinion then. > https://github.com/golang/go/issues/60078 is where this is discussed. We can discuss semantics here, but a breaking change, to me, is one…
    comment by usrbinbash · 2023-11-11 · in Fourteen Years of Go
  15. …hostility and disbelief rather than curiosity. > Please explain what exactly that change breaks. https://github.com/golang/go/issues/60078 is where this is discussed. Again, I _agree_ with this change, but I'm pointing out that it is a…
    comment by cpuguy83 · 2023-11-11 · in Fourteen Years of Go
  16. …introduced a big breaking change in the x.509 standard library that caused a lot of scrambling. https://github.com/golang/go/issues/39568 As far as I know every other language standard library still allows CN to be used to validate the…
    comment by davewritescode · 2023-11-11 · in Fourteen Years of Go
  17. …and I'll never forget that this language has a dumb name and it could have had a much better name: https://github.com/golang/go/issues/9#issuecomment-66047467
    comment by jordigh · 2023-11-11 · in Fourteen Years of Go
  18. …it's one unusual case, where the code is split in a multitude of mutually recursive functions. [0]: https://github.com/golang/go/blob/master/src/go/parser/parse...
    comment by mbivert · 2023-11-11 · in Fourteen Years of Go
  19. …https://go.dev/blog/defer-panic-and-recover , which says: And another quick googling turns up this: https://github.com/golang/go/issues/26799 which says: However, this is a poor example and a misuse of panic and recover as exceptions. See…
    comment by usrbinbash · 2023-11-11 · in Fourteen Years of Go
  20. If you mean OMP-style for loops, they most likely won't add them: [0]. [0] https://github.com/golang/go/issues/24210#issuecomment-36979...
    comment by Joker_vD · 2023-11-08 · in Fixing the other Go loop bug
  21. …allotment that properly tuning GOMAXPROCS was a significant latency and throughput improvement." https://github.com/golang/go/issues/33803#issuecomment-14308...
    comment by riv991 · 2023-11-08 · in Go, Containers, and the Linux Scheduler
  22. …optimize it. There was once a proposal for this, but it's really against Go's design as a language. https://github.com/golang/go/issues/21536
    comment by cbarrick · 2023-11-05 · in Building a high performance JSON parser
  23. …Here are my top10 results: https://go.dev/ https://en.wikipedia.org/wiki/Go_(programming_language) https://github.com/golang/go https://de.wikipedia.org/wiki/Go_(Programmiersprache) https://gobyexample.com/ https://twitter.com/golang…
    comment by usrbinbash · 2023-11-03 · in Why people in Google hate Go?
  24. …at all, there is an astounding amount of lefacy stuff around, such as this issue from 2021: https://github.com/golang/go/issues/46899
  25. …in itself for 8 years. Notably, this now allows for generics to be used in the compiler. [0]: https://github.com/golang/go/issues/54265
  26. …than the app does. So no, I wouldn't say every language needs to do that. Golang definitely didn't https://github.com/golang/go/issues/36435
    comment by viraptor · 2023-10-25 · in An aborted experiment with server Swift
  27. This does appear to be the plan: https://github.com/golang/go/issues/56539#issuecomment-13325... It would be up to the implementation whether the default result from MultipathTCP is on or off, and then programs could override that with…
  28. …support it yet. Here's the relevant issue, including some perspective by caddy's lead developer: https://github.com/golang/go/issues/32204
  29. …called 'sum types' and that's what Go lacks. See some bikeshedding and ongoing discussion [here]( https://github.com/golang/go/issues/57644 ).
    comment by aldanor · 2023-10-20 · in Banging errors in Go
  30. …error-like struct pointers from functions - you're supposed to return an "error" interface Per https://github.com/golang/go/wiki/CodeReviewComments#interfa... : Go interfaces generally belong in the package that uses values of the…
    comment by the_gipsy · 2023-10-20 · in Banging errors in Go
  31. …calls Reset[1], which calls readHeader[2], which the name should tell you what its doing. --- 0: https://github.com/golang/go/blob/go1.21.3/src/compress/gzip... 1: https://github.com/golang/go/blob/go1.21.3/src/compress/gzip... 2:…
    comment by imran-iq · 2023-10-20 · in Banging errors in Go
  32. …proposals aimed to tackle error handling ergonomics that it has its own label in the bug tracker. https://github.com/golang/go/issues?q=+is%3Aissue+label%3Aer...
    comment by jiripospisil · 2023-10-19 · in Banging errors in Go
  33. The comments on this GitHub issue include links to the changes in the golang code review system: https://github.com/golang/go/issues/17490
  34. …the commit stream. The release notes are much more shaped up by the time RC rolls around (see https://github.com/golang/go/wiki/Go-Release-Cycle )
    comment by eliben · 2023-10-16 · in Better HTTP server routing in Go 1.22
  35. …It remains a > key design goal to avoid any semantics that depend on > registration order. [1]: https://github.com/golang/go/issues/61410 [2]: https://github.com/golang/go/discussions/60227
    comment by numbsafari · 2023-10-16 · in Better HTTP server routing in Go 1.22
  36. …handler. Why not make it an actual argument, then using already existing constants is easier. [1] https://github.com/golang/go/issues/61410#issuecomment-16580...
    comment by gempir · 2023-10-16 · in Better HTTP server routing in Go 1.22
  37. …whole process? Every other OS gets that one right, but on Linux even big projects like Go struggle: https://github.com/golang/go/issues/1435 Btw: I say that at someone who is a huge fan of eBPF, even though I have to admit that it really…
  38. …and it looks like there's going to be a serious overhaul of its capabilities and implementation: https://github.com/golang/go/discussions/63397 -- I'm looking forward to seeing this land.
  39. …no cost. And as he points out - the current alternatives for funding are totally inadequate. 1. https://github.com/golang/go/discussions/63397
  40. …some thread-local features without any thread-local requirements to the running environment. [1]: https://github.com/golang/go/blob/master/src/cmd/compile/abi...
  41. …they don't. I haven't yet bothered to try and understand why that's the case. Why can't they use the github.com/golang/go link instead? (no pun, genuinely wondering)
  42. …(as decided by the scheduler attached). you can find more details in the project ROADMAP.md[2] [1]: https://github.com/golang/go/blob/352c8835e7609ad72872b5a63b... [2]: https://github.com/primecitizens/pcz/blob/master/ROADMAP.md
  43. This is a more recent proposal, and at this time more likely to get traction: https://github.com/golang/go/issues/57644 As stated in that proposal, the interaction between what people want from “enums,” “discriminated unions,” “sum types,”…
  44. Here is an issue tracking a possible fix to this: https://github.com/golang/go/issues/19412
    comment by maxekman · 2023-09-29 · in Compile-time safety for enumerations in Go
  45. …https://github.com/kubernetes/kubernetes/blob/1020678366f741... https://github.com/golang/go/blob/6cf6067d4eb20dfb3d31c0a8cc...
    comment by blindseer · 2023-09-27 · in Rust vs Go: A Hands-On Comparison
  46. Yeah. Effective Go feels a little dated now. My most frequent link is to Code Review Comments: https://github.com/golang/go/wiki/CodeReviewComments
    comment by jrockway · 2023-09-27 · in Deconstructing Go Type Parameters
  47. …of more than 2-3 years. [1]: https://developer.apple.com/library/archive/qa/qa1118/_index... [2]: https://github.com/golang/go/issues/16606 [3]: https://support.apple.com/guide/security/trust-caches-sec7d3...
    comment by lgg · 2023-09-26 · in macOS Containers v0.0.1
  48. …the slice pointer. I had to look it up from a blog post, because the source for append() is gnarly https://github.com/golang/go/blob/go1.16.7/src/cmd/compile/i...
    comment by xmcqdpt2 · 2023-09-21 · in Fixing for loops in Go 1.22
  49. Just don't: https://github.com/golang/go/issues/28146
  50. …#(programs broken) is accepted, we might as well remove the compatibility promise page [2]. --- [1] https://github.com/golang/go/issues/60078 [2] https://go.dev/doc/go1compat
    comment by beltsazar · 2023-09-20 · in Fixing for loops in Go 1.22