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. …remove those special cases from Go 1.13. At least, they removed the really ugly special cases! [1] https://github.com/golang/go/issues/29934#issuecomment-48968...
    comment by ra7 · 2019-05-22 · in Go is Google's language, not ours
  2. …that draft 2 of Error Handling [2] won't look anything like draft 1, for reasons such as [3]. [1] https://github.com/golang/go/issues/29934 [2] https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback [3]…
    comment by networkimprov · 2019-05-22 · in Go is Google's language, not ours
  3. Go wanted to deprecate OpenPGP support. But, it looks as if they have walked that back a lot: https://github.com/golang/go/issues/30141 "We will be deprecating the packages listed above, except openpgp/, otr/ and xts/. I'll update the…
  4. https://github.com/rust-lang/rust currenly has 4738 open and 25,000 closed. https://github.com/golang/go currently has 4412 open and 27,000 closed. https://github.com/npm/npm had 2166 before moving to community,forum.…
  5. …in-lining. I also found this[0] page which lists some optimizations done by the compiler. [0] https://github.com/golang/go/wiki/CompilerOptimizations edit: You can see what the compiler emits as assembly code with `-gcflags '-S'` so you…
    comment by __HYde · 2019-05-13 · in Fast Compilers for Fast Programs
  6. https://github.com/golang/go/issues/31977
  7. …cannot always see through them. This is now fixed for simple cases in Go, but only very recently: https://github.com/golang/go/issues/19361 Ironically, Java HotSpot handles the use case of Reader and Writer better than Go does, since when…
    comment by pcwalton · 2019-05-10 · in IT Runs on Java 8
  8. …is going to be supportable in the future (I'm not talking about UB, races or memory leaks). [0]: https://github.com/golang/go/issues/18138 Edit: wording
  9. Is there a Github issue for this problem? If not, would you consider filing one? https://github.com/golang/go/issues It should probably explain why one cannot "avoid its global allocator" by using pools and/or stack objects.
    comment by networkimprov · 2019-05-06 · in Practices for writing high-performance Go
  10. …though [0] https://golang.org/pkg/sync/#Pool [1] https://blog.golang.org/profiling-go-programs [2] https://github.com/golang/go/issues/22950
    comment by kevinconaway · 2019-05-06 · in Practices for writing high-performance Go
  11. …with actual source code in some way) reading it rather than writing it. At the moment I'm reading https://github.com/golang/go/blob/master/src/encoding/json/e... to diagnose a problem in my code. Overall, the readability is good. My only…
    comment by kstenerud · 2019-05-05 · in Applying the Gestalt Principles to Code
  12. …If you're having problems with this feature, please file a bug on the Go issue tracker ( https://github.com/golang/go/issues ). Thanks!
  13. …to existing APIs, and perhaps a way to re-enable them on a per-function or per-package basis. [1] https://github.com/golang/go/issues/29934 [2] https://blog.golang.org/go2-here-we-come [3] https://github.com/golang/go/issues/29934#issuecomm…
    comment by networkimprov · 2019-04-29 · in Go 1.13: xerrors
  14. That is not part of xerrors at this point. Rationale: https://github.com/golang/go/issues/29934#issuecomment-46420... Personally, I don't care for "string magic" Edit: Instead of making another post, I'll add this here. It also feels odd…
    comment by acrispino · 2019-04-29 · in Go 1.13: xerrors
  15. …been Python everywhere). PS: I still brag about Rob Pike & Russ Cox approving my patches ;) [1] https://github.com/golang/go/issues/93
  16. …there. :) https://gophers.slack.com -- The WebAssembly page on the Go wiki has useful info too: :) https://github.com/golang/go/wiki/WebAssembly
  17. Are the maintainers aware that Bleve is unsafe to use on MacOS with Go 1.11 and earlier? https://github.com/golang/go/issues/26650
    comment by networkimprov · 2019-04-08 · in Bleve: Full-text search and indexing for Go
  18. …2 error handling[2] because the Go team's Draft Design document omitted a requirements section. [1] https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback [2] https://gist.github.com/networkimprov/961c9caa2631ad3b95413f...
    comment by networkimprov · 2019-04-06 · in Error Handling in Go (2016)
  19. …health of the language. [1]: https://go.googlesource.com/proposal/+/master/design/go2draf... , or https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback for the current state / counterpoints / etc
    comment by Groxx · 2019-04-06 · in Error Handling in Go (2016)
  20. Algernon does a bit more than plain Nginx or Apache. 24.4 MiB also includes bloat. See: https://github.com/golang/go/issues/27266 https://github.com/golang/go/issues/2559 Hopefully we can get smaller binaries by Go 1.13.
  21. …Yes, it is. 5%-10% in the very link you posted. > "golang do heavy inline-ing" No, it does not. See https://github.com/golang/go/issues/17566 > "most of its performance comes from concurrency" That's just ridiculous. They didn't write all…
  22. …on stack actually make concurrency easier. That said, there is a proposal to do it in register: https://github.com/golang/go/issues/18597 It is challenging and not in high priority. The current priority is do more inlining.
  23. …difference - you'll see a big difference if compiling the same project with go-1.10.z vs go-1.12.z https://github.com/golang/go/issues/27266 a very recent cause of pclntab getting huge is adding preemption safepoint info for every…
  24. …Looks like it's a 5-10% performance hit, but makes it easier to provide good backtrace information: https://github.com/golang/go/issues/18597
  25. …gzipped, will double check what's up with that). More info on the size of Go's wasm binaries here: https://github.com/golang/go/wiki/WebAssembly#reducing-the-s... The doc site is a prototype and proof-of-concept using Vugu. First attempt,…
  26. …and seems to be in a pretty uncertain state. This issue is tracking compatibility of common tools https://github.com/golang/go/issues/24661
    comment by buckhx · 2019-03-21 · in Using Go Modules
  27. …help here. It allows you to forgo semver+version control and depend on modules on your local disk. https://github.com/golang/go/wiki/Modules#can-i-work-entirel...
    comment by knownunown · 2019-03-20 · in Using Go Modules
  28. Not all go tools respect symlinks, since Rob Pike decided that symlinks should not be supported. https://github.com/golang/go/issues/15507#issuecomment-24158...
    comment by hiimnate · 2019-03-20 · in Using Go Modules
  29. not ready yet for production, most of the cli tools such as errcheck dont work. https://github.com/golang/go/issues/24661 other than that it works like a charm, here's a tutorial i wrote: https://getstream.io/blog/go-1-11-rocket-tutorial/
    comment by tschellenbach · 2019-03-20 · in Using Go Modules
  30. Had some fun with "it's not quite (g)libc" recently related to: https://github.com/golang/go/issues/22846 Static binaries are fun, but bringing a libc replacement... Can be surprising. My trouble was with split-horizon networking, and…
  31. …that sets GO111MODULE=on, which I use when I want to use modules inside $GOPATH. More info here: https://github.com/golang/go/wiki/Modules
    comment by fhs · 2019-03-20 · in Using Go Modules
  32. For a single module, there is a "replace" directive that you can use to point to a local fork: https://github.com/golang/go/wiki/Modules#when-should-i-use-... But if you have an internal version that's used in lots of modules, it's…
    comment by skybrian · 2019-03-20 · in Using Go Modules
  33. …the major tools on board. [0] https://github.com/Microsoft/vscode-go/wiki/Go-modules-suppo... [1] https://github.com/golang/go/issues/24661
    comment by kyrra · 2019-03-20 · in Using Go Modules
  34. …languages that also have the same bug. golang had the same bug which was fixed in this commit: https://github.com/golang/go/commit/829c5df58694b3345cb5ea41...
  35. …There is an open issue[2] about updating that page. [1] https://golang.org/doc/install/source [2] https://github.com/golang/go/issues/28142
    comment by ainar-g · 2019-03-14 · in A Pi-Powered Plan 9 Cluster
  36. …shell script to simulate git [2] (which isn't available on Plan 9) using http calls to github! [1] https://github.com/golang/go/wiki/Plan9 [2] https://blog.gopheracademy.com/advent-2014/wrapping-git/
    comment by kristianp · 2019-03-14 · in A Pi-Powered Plan 9 Cluster
  37. …gist.github.com/networkimprov/961c9caa2631ad3b95413f... See also the Go 2 Draft Design feedback wiki: https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback
  38. …building blocks and they're really quite bad. I mean when you're using `append` to delete... 1: https://github.com/golang/go/wiki/SliceTricks
  39. …issue is that GO modules are still not ready for production since the ecosystem didn't catch up: https://github.com/golang/go/issues/24661
  40. …look towards the first few releases for the bugs they mention. For instance, here's a 1.1 fix: https://github.com/golang/go/commit/d72c550f1c7e13c323f4507b... One of the advantages of not mutating the language too much is that there aren't…
  41. …be used to implement G." The whole Issue is worth a read. Here's direct link to the above comment: https://github.com/golang/go/issues/15292#issuecomment-21008...
  42. …be a first step to introduce register based calling convention and deliver a 5% performance boost. https://github.com/golang/go/issues/18597
    comment by grumpydba · 2019-02-26 · in Go 1.12 Released
  43. https://github.com/golang/go/issues/25355
    comment by sodpoisadfio · 2019-02-26 · in Go 1.12 Released
  44. Satire, I presume! Cue polite laughter They've been preoccupied with "Error Values" https://github.com/golang/go/issues/29934
    comment by networkimprov · 2019-02-26 · in Go 1.12 Released
  45. …be interested in this, although support is extremely limited and restricted to specific areas: https://github.com/golang/go/wiki/Mobile#building-and-deploy...
    comment by angott · 2019-02-26 · in Go 1.12 Released
  46. …or similar? Or is it either too hard to maintain or is there just too much fear about misuse? 0 - https://github.com/golang/go/issues/25807
    comment by kodablah · 2019-02-26 · in Go 1.12 Released
  47. …on MacOS, which didn't actually fsync() properly. This affects several popular database libraries. https://github.com/golang/go/issues/26650
    comment by networkimprov · 2019-02-26 · in Go 1.12 Released
  48. …escapes e.g. the fmt functions will "escape" their format string and every single parameter: https://github.com/golang/go/issues/8618
  49. Go is not fully preemptive, but in practice it usually is (it preempts at function calls): https://github.com/golang/go/issues/10958 .
  50. …and how it would play along. The issue was closed with "we need a larger discussion" comment. https://github.com/golang/go/issues/29011 If you are interested in that you may want to participate.
    comment by rumcajz · 2019-02-17 · in Graceful Shutdown