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. …well-established standards of use Here are some companies that may disagree with the author: https://github.com/golang/go/wiki/GoUsers
  2. …the BEAM: https://github.com/erlang/otp/blob/master/erts/emulator/beam... On the Go side, check out https://github.com/golang/go/tree/master/src/runtime/proc.go and the asm* implementations. It's been a little while since I looked at it,…
  3. …enough. Somewhere in the comments someone mentioned that "the actual info" on modules is here: https://github.com/golang/go/wiki/Modules which is slightly better but for some reason isn't in the official docs, and also basically brushes…
    comment by dmitriid · 2020-09-10 · in Go modules have a v2+ problem
  4. …code" https://golang.org/doc/code.html , have been writing loads of reference material (follow in https://github.com/golang/go/issues/33637 ), have several tutorials on the way, are thinking and talking about a "cheatsheet", are building…
    comment by deklerk · 2020-09-10 · in Go modules have a v2+ problem
  5. …What? I solved it by looking through this issue that comes at the top of Google Search for it: https://github.com/golang/go/issues/35732
    comment by dmitriid · 2020-09-10 · in Go modules have a v2+ problem
  6. Most likely people don't know where the doc is, Go documentation for module is excellent: https://github.com/golang/go/wiki/Modules
    comment by Thaxll · 2020-09-10 · in Go modules have a v2+ problem
  7. …or v1.5.0-rc.1. The leading v is required. If using Git, tag released commits with their versions https://github.com/golang/go/wiki/Modules#modules (I find this reference exceedingly helpful, and wish it were somewhere more official than…
    comment by llimllib · 2020-09-10 · in Go modules have a v2+ problem
  8. …be a single letter (i, r). More unusual things and global variables need more descriptive names." https://github.com/golang/go/wiki/CodeReviewComments#variabl...
    comment by Cthulhu_ · 2020-08-31 · in How to Write Unmaintainable Code (2003)
  9. …in the standard library after a server I wrote oddly kept eternally open-connections[1]. [1] https://github.com/golang/go/issues/213
  10. …taking context.Context. The new FS API proposal makes no mention of deadlines or contexts. [2] [1] https://github.com/golang/go/issues/41054 [2] https://github.com/golang/go/issues/5636#issuecomment-661926...
    comment by networkimprov · 2020-08-30 · in An interesting mistake with Go's context package
  11. …[1] Go supports timeouts on network & file read/write ops, which can be used to interrupt them. [1] https://github.com/golang/go/issues/41054
    comment by networkimprov · 2020-08-29 · in Don't trust default timeouts
  12. https://github.com/golang/go/blob/dev.go2go/src/cmd/go2go/te... A general question. Is there a reason to add those arguments instead of just using them directly inside the goroutine and so passing the arguments implicitly?
  13. …There's a whole page of these "tricks" that are necessary to perform basic operations on slices: https://github.com/golang/go/wiki/SliceTricks
  14. …talking about TLS certs, WAF and other concerns that also may bring nginx etc on board anyhow. [1] https://github.com/golang/go/issues/16100
    comment by clon · 2020-08-14 · in What's new in PHP 8?
  15. …and I am thrilled about it and what it means for keeping the Go X.509 ecosystem modern and secure. https://github.com/golang/go/issues/39568#issuecomment-67142... crypto/tls Configs now have a spiffy VerifyConnection callback that runs for…
    comment by FiloSottile · 2020-08-11 · in Go 1.15 Released
  16. …. Official blog post: https://blog.golang.org/go1.15 . Some fixes already planned for Go 1.15.1: https://github.com/golang/go/milestone/162 .
    comment by ainar-g · 2020-08-11 · in Go 1.15 Released
  17. …om/r/golang/comments/hv976o/qa_iofs_draf... It was prompted by this proposal for os.Readdirentries(): https://github.com/golang/go/issues/40352 It seems to me that FileInfo isn't a suitable interface for either a general filesystem…
    comment by networkimprov · 2020-08-06 · in File System Interfaces for Go – Draft Design
  18. They are aware: https://github.com/golang/go/issues/16399 Seems like they postponed incorporating fastwalk into the standard library because it would break API: https://godoc.org/golang.org/x/tools/internal/fastwalk Perhaps until then one…
  19. There is a proposal to replace os.Readdir() here: https://github.com/golang/go/issues/40352
    comment by networkimprov · 2020-08-05 · in File System Interfaces for Go – Draft Design
  20. …being considered now after ideas matured in the community and people developed ways around it (see https://github.com/golang/go/issues/35950 ). The outcome will probably be something that will be robust and stable and once in the language…
  21. I think the first page of the commit history ( https://github.com/golang/go/commits/master?after=f235275097... ) is a little better
    comment by msingle · 2020-08-05 · in First Git commit 19 July 1972
  22. …tag, but that was abandoned because a lot of code hosting sites would not have been supported yet: https://github.com/golang/go/issues/39559 https://github.com/golang/go/issues/40477 That is why they decided to turn it into an…
  23. > Anyway it seems that the repo was not added to pkg.dev automatically: > > https://github.com/golang/go/issues/38326 The way this works (or rather, worked) is that you first need to "go get" a module and then it gets picked up by the…
  24. …Did somebody look into why? Anyway it seems that the repo was not added to pkg.dev automatically: https://github.com/golang/go/issues/38326 and the automatic fetching should work now: https://github.com/golang/go/issues/37002
  25. …have repeatedly stated that its type system being very limited is intentional. See e.g. here: https://github.com/golang/go/issues/29649#issuecomment-45482... TBH, sometimes I wonder why they bothered with static typing at all...
  26. …in; it doesn't have much cleverness so most code is instantly readable. Take a random file from https://github.com/golang/go/tree/master/src and any developer will understand it and be able to make changes. They optimized the language for…
  27. …a 3rd party site, and this issue is still open [#16922 doc: document assembly calling convention]( https://github.com/golang/go/issues/16922 ) btw the source i linked in my original comment links to a proposal to allow passing args in…
  28. The golang project itself is a perfect example: https://github.com/golang/go/blob/master/src/Make.dist
  29. …char to be signed You mean unsigned char? that's a common hurdle while porting x86 code to ARM. [1] https://github.com/golang/go/issues/38485 [2] https://gist.github.com/tonistiigi/290d2e7118fe6f581e336bf35...
    comment by Abishek_Muthian · 2020-07-16 · in Introducing Swift Service Lifecycle
  30. …and whether it's because of Apple's extension of ARM instructions. [1] https://needgap.com [2] https://github.com/golang/go/wiki/GoArm#jetson-nano
    comment by Abishek_Muthian · 2020-07-16 · in Introducing Swift Service Lifecycle
  31. …sufficient you need to learn all these tricks by heart in order to do basic operations on slices: https://github.com/golang/go/wiki/SliceTricks
  32. …to be eaten by Kaspersky [2] [1] https://github.com/secretsquirrel/the-backdoor-factory [2] https://github.com/golang/go/issues/16292
    comment by photon12 · 2020-07-14 · in Python malware on the rise
  33. …If a formalised format is used (as shown in [0]) then of course you'll never have the option. [0] https://github.com/golang/go/commit/5779bb4e92911271583faa13...
  34. …case. Many high-profile projects have essays in their commits; I'm familiar with those of Go, e.g. https://github.com/golang/go/commit/5779bb4e92911271583faa13... (picked one at random).
  35. …long-run it was the right move, but man was it painful. 1: https://stackoverflow.com/a/57372286 2: https://github.com/golang/go/wiki/Modules
    comment by m0th87 · 2020-07-07 · in Keeping your Go modules compatible
  36. It's pretty clear and well explained there: https://github.com/golang/go/wiki/Modules On a day to day operation, you need to know 2/3 commands that's it. - go mod init - go mod tidy - go get xxx
    comment by Thaxll · 2020-07-07 · in Keeping your Go modules compatible
  37. …perspectives depend on what you want to use it for and how much numerical processing you do. [1] https://github.com/golang/go/issues/6282
  38. …on libc if they can avoid it, but on a lot of systems they really can't avoid it. Ah, here we go: https://github.com/golang/go/issues/36435 > Upcoming changes to the OpenBSD kernel will prevent system calls from being made unless they are…
    comment by yjftsjthsd-h · 2020-06-28 · in Guide to Linux System Calls (2016)
  39. …for wrapping around OpenGL and the likes, in a (complex) gaming context. See issues like this: https://github.com/golang/go/issues/19574
  40. …ttps://github.com/qiniu/goplus/wiki/Error-Handling foo()? // for goplus try(foo()) // the go proposal https://github.com/golang/go/issues/32437
  41. …reason. [1]: https://github.com/opencontainers/runc [2]: https://golang.org/doc/go1.10#runtime [3]: https://github.com/golang/go/issues/20676 [4]: https://www.weave.works/blog/linux-namespaces-golang-followu... [5]:…
  42. …so brilliant where's your proposal dated Jun 2010 (your 'decade lost') that "solves" generics? [1]: https://github.com/golang/go/issues/15292
    comment by infogulch · 2020-06-16 · in The Next Step for Generics
  43. For reference https://github.com/golang/go/wiki/WebAssembly
    comment by rudolph9 · 2020-06-12 · in Go 1.15 – Draft release notes
  44. …No. So why is this even here? Compare the Go crypto reaction when somebody wants to add ECB mode: https://github.com/golang/go/issues/5597 OpenSSL is better now than it was then, it might even be the least worst option for a lot of people…
  45. Discussion of supporting this in the Go runtime is here: https://github.com/golang/go/issues/31908 TL;DR there's no ETA for it.
    comment by networkimprov · 2020-06-08 · in Getting Hands-on with io_uring using Go
  46. I'm not sure I think it's just a current limitation: https://github.com/golang/go/wiki/CompilerOptimizations#func... They do improve the compiler every release, so we might see some of those operations get inlined in the future. More…
    comment by Thaxll · 2020-06-05 · in The Go Compiler Needs to Be Smarter
  47. …to show that while a self hosted build system is nice, you forgo decades of gcc/llvm optimisations. https://github.com/golang/go/issues/17566
    comment by drej · 2020-06-05 · in The Go Compiler Needs to Be Smarter
  48. …fix some of it is my understanding but will have to wait and see -- not playing with /tip! [0] https://github.com/golang/go/commit/fff7509d472778cae5e652db...
    comment by hactually · 2020-06-05 · in The Go Compiler Needs to Be Smarter
  49. …someone to watch the Go issue tracker, and subscribe to all issues that might affect them. https://github.com/golang/go/issues/
    comment by networkimprov · 2020-05-21 · in Three bugs in the Go MySQL driver
  50. …original issue[1] promises to ”[open] some tickets for various drivers”. Did this not happen? 1: https://github.com/golang/go/issues/23519#issuecomment-36057...
    comment by nemetroid · 2020-05-21 · in Three bugs in the Go MySQL driver