Hacker GitHub

← All repos

golang/go

View on GitHub ↗ ★ 139,546 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. …readability improvement to have named functions for very common patterns like the slice tricks. 0: https://github.com/golang/go/wiki/SliceTricks
    comment by bbatha · 2019-07-31 · in Why Generics?
  2. https://github.com/golang/go/tree/master/src/runtime There's some assembly in there, but it seems to be mostly Go.
    comment by yellowapple · 2019-07-30 · in We Need a Safer Systems Programming Language
  3. …instead of float32(math.Sin(float32(x))) just seems like an improvement in every way. [1] https://github.com/golang/go/wiki/SliceTricks
    comment by throwaway34241 · 2019-07-29 · in Go Contracts – Draft Design
  4. …thus GoDoc automatically generates a nice webpage out of it. See for example this package comment: https://github.com/golang/go/blob/master/src/net/http/doc.go... Turns into this documentation (the beginning only):…
  5. https://github.com/golang/go
  6. …appears that the page hasn't been updated since 2017, and Go Modules is more recent than that) 0: https://github.com/golang/go/blob/master/src/runtime/select.... 1: http://disq.us/p/1qcpqao
    comment by DuskStar · 2019-07-25 · in YourLanguageSucks
  7. …created my own proposal that I think addresses the issues. I would love some constructive feedback. https://github.com/golang/go/issues/33161
  8. ▲ 1
    The Go Team declines the ‘try’ proposal
    story by ngaut · 2019-07-18 · 1 comment
  9. …Go's error check function "try" proposal[0] will also be similar to this situation. [0]: https://github.com/golang/go/issues/32437
    comment by adito · 2019-07-17 · in What's Coming in Python 3.8
  10. yeah; we're getting there though, see https://github.com/golang/go/wiki/ErrorValueFAQ
  11. Found it: https://github.com/golang/go/issues/20803
  12. ▲ 474
    Declined Proposal: A built-in Go error check function, “try”
    story by robfig · 2019-07-16 · 408 comments
  13. ▲ 3
    Golang issue ticket: “Remove the Google logo”
    story by javinpaul · 2019-07-13 · 0 comments
  14. ▲ 57
    Remove the Google logo from the Golang website
    story by piliberto · 2019-07-10 · 22 comments
  15. …year or so[2]. They talk a bit about next steps in the most recent blog post about Go 1.13[3]. [1]: https://github.com/golang/go/wiki/Go2 [2]: https://blog.golang.org/go2draft [3]: https://blog.golang.org/go2-next-steps
    comment by cyphar · 2019-07-07 · in Learning Golang – From Zero to Hero
  16. …are still to catch up with Go modules, so using GOPATH still makes sense if you use them. [0] https://github.com/golang/go/issues/24661
    comment by geoka9 · 2019-07-07 · in Learning Golang – From Zero to Hero
  17. …Brian Kernighan alluding to some of this in his humorous (but true!) mention of "first Go commit" ( https://github.com/golang/go/commit/7d7c6a97f815e9279d08cfae... )
  18. …passes here[0]. It does some optimizations but much less than a mainstream C or C++ compiler. [0] https://github.com/golang/go/blob/master/src/cmd/compile/int...
  19. >many optimizations Not many, mostly simple peephole optimizations. https://github.com/golang/go/blob/master/src/cmd/compile/int...
  20. …down the statement handling stack is trivial (and indeed, this is what happens for for[3]). [1] https://github.com/golang/go/blob/master/src/cmd/compile/int... ("ctx" is a "targets" struct containing two entries, one for which statement…
  21. …decent amount of them. At least for me it passes the subjectively vague "meaningful" check :-P. [1] https://github.com/golang/go/blob/master/src/cmd/compile/int... [2] https://github.com/golang/go/blob/master/src/cmd/compile/int... [3]…
  22. …before making accusations like that please. [0]: https://golang.org/doc/faq#exceptions [1]: https://github.com/golang/go/wiki/DesignDocuments , https://github.com/golang/proposal [2]: https://go.googlesource.com/proposal/+/master/design/go2…
    comment by Cthulhu_ · 2019-07-04 · in An Open Letter to the Go Team About Try
  23. …The proposal has been partially accepted and implemented in Go 1.13: https://github.com/golang/go/issues/29934#issuecomment-48968...
    comment by praseodym · 2019-07-03 · in An Open Letter to the Go Team About Try
  24. …all our production servers. [1] https://github.com/golang/proposal/blob/master/design/32437-... [2] https://github.com/golang/go/issues/32437#issuecomment-49926... [3] https://github.com/golang/go/issues/32437#issuecomment-50061... [4]…
    comment by guessmyname · 2019-07-03 · in An Open Letter to the Go Team About Try
  25. https://github.com/golang/go/issues/32437
    comment by Iggy173 · 2019-07-02 · in An Open Letter to the Go Team About Try
  26. …the brackets will make it harder to read. In fact I've just found a variant of this proposed here: https://github.com/golang/go/issues/32811
    comment by grey-area · 2019-07-02 · in Next steps toward Go 2
  27. The compiler optimizes conversion from []byte to string on map lookup. https://github.com/golang/go/commit/f5f5a8b6209f84961687d993...
    comment by BarkMore · 2019-06-30 · in Go Slices Are Fat Pointers
  28. Go v1.11+ compiles to WebAssembly https://github.com/golang/go/wiki/WebAssembly
  29. …on the eyes: f, err := os.Open(filename) or return 0, err Actually, I'll just open a proposal: https://github.com/golang/go/issues/32848
  30. This proposal https://github.com/golang/go/issues/32611 suggests: on err, <single_statement>
    comment by networkimprov · 2019-06-28 · in Go proposal: Leave “if err != nil” alone?
  31. ▲ 109
    Go proposal: Leave “if err != nil” alone?
    story by hih0 · 2019-06-28 · 124 comments
  32. ▲ 2
    A 'whenever' keyword for better error handling in Go 2
    story by integrii · 2019-06-27 · 0 comments
  33. …we expect that the error context is the same in the whole function. See this comment by Russ Cox: https://github.com/golang/go/issues/32437#issuecomment-50329... > this would loose proper backtrace information: the backtraces all point to…
    comment by ngrilly · 2019-06-27 · in Next steps toward Go 2
  34. Of course it is: https://github.com/golang/go/blob/3813edf26edb78620632dc9c7d...
    comment by unscaled · 2019-06-27 · in Next steps toward Go 2
  35. The official wiki is good: https://github.com/golang/go/wiki/Modules This article looks like a good intro: https://roberto.selbach.ca/intro-to-go-modules/ The equivalent of "npm install" is "go get" (optionally "-u"). You can also edit…
    comment by atombender · 2019-06-27 · in Next steps toward Go 2
  36. …precision", i.e. make the builtin int type a bigint to avoid integer overflow and conversion bugs: https://github.com/golang/go/issues/19623
    comment by cpeterso · 2019-06-26 · in Next steps toward Go 2
  37. It's just syntactic-sugar. From the proposal ( https://github.com/golang/go/issues/32437 ): f, err := os.Open(filename) if err != nil { return …, err } is simplified to: f := try(os.Open(filename)) > I dislike the try implementation What…
    comment by kbd · 2019-06-26 · in Next steps toward Go 2
  38. If you are actually interested in the proposal: https://github.com/golang/go/issues/32466
    comment by azhenley · 2019-06-26 · in Next steps toward Go 2
  39. …they received on the GitHub Issue and not just push it through like the error inspection [0]. [0]: https://github.com/golang/go/issues/29934#issuecomment-48968...
    comment by AtroxDev · 2019-06-26 · in Next steps toward Go 2
  40. Issue 9, never forget: https://github.com/golang/go/issues/9#issuecomment-66047467
    comment by jordigh · 2019-06-19 · in Google to Reimplement Curl in Libcrurl
  41. ▲ 1
    Go1.13 release improves performance of most uses of defer by 30%
    story by ngaut · 2019-06-19 · 0 comments
  42. Caddy's build are reproducible as per https://github.com/golang/go/wiki/Modules . The downloader offers you to extend Caddy with plugins, and this will change the hash of the binary compared to a straight build from the source code. Keep…
  43. …that misfeature in a newer language. Go apparently does it that way to make "defer" work.[1] [1] https://github.com/golang/go/issues/20803
    comment by Animats · 2019-06-13 · in Why I Don't Like Golang (2016)
  44. See https://github.com/golang/go/wiki/Go-Release-Cycle . We're one month into the three-month freeze, so it's unlikely that new features are going to be merged in before the tree reopens. Bugfixes are still welcome, though, as long as…
    comment by mvdan · 2019-06-07 · in Slides: What's Coming in Go 1.13
  45. ▲ 2
    Proposal: A built-in Go error check function, “try”
    story by Supermighty · 2019-06-05 · 0 comments
  46. …that ends with exceptions. A lot of others chiming in with different ideas on the original ticket: https://github.com/golang/go/issues/32437
  47. ▲ 1
    A proposal for simplified Go error inspection
    story by networkimprov · 2019-06-03 · 1 comment
  48. "you always know where everything is" is no longer true. https://github.com/golang/go/wiki/Modules
  49. …he actually did in Go[2]. [1]: https://unix.stackexchange.com/questions/10893/what-did-ken-... [2]: https://github.com/golang/go/commit/c90d392ce3d3203e0c32b3f9...
  50. ▲ 1
    Go Shebang Proposal
    story by nhooyr · 2019-05-25 · 0 comments