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. Bug #3 (The race) was silently introduced by a semantic change in Go's database/sql in January 2018: https://github.com/golang/go/commit/651ddbdb5056ded455f47f9c... It took until December of the same year until we got the first bug report…
    comment by JulienSchmidt · 2020-05-21 · in Three bugs in the Go MySQL driver
  2. This as well, a recently fix for this scenario https://github.com/golang/go/issues/34775
    comment by todotask · 2020-05-21 · in Three bugs in the Go MySQL driver
  3. …touches UI to UI thread. Which is the same thing you must do in C# (or any other language). See https://github.com/golang/go/wiki/LockOSThread
    comment by kjksf · 2020-05-19 · in What Color Is Your Function? (2015)
  4. On Linux it has avoided libc for nsswitch in the common case since 2015: https://github.com/golang/go/issues/10485 Golang has only very recently (in its lifetime) and grudgingly admitted that operating systems that provide ABI stability at…
  5. …to be disabled and a subset of NSS will be implemented in Go. Native NSS modules will not work. [1] https://github.com/golang/go/issues/24083
    comment by alecthomas · 2020-05-03 · in Making Rust as Fast as Go
  6. …allow mutex free communication between goroutines without a pain. Channels are not lock free: https://github.com/golang/go/issues/8899
  7. Not a large forest, https://github.com/golang/go/wiki/GoUsers , but it expands fastly.
    comment by tapirl · 2020-05-01 · in Rob Pike interview
  8. …https://news.ycombinator.com/item?id=2535206 [3]: https://news.ycombinator.com/item?id=2535386 [4]: https://github.com/golang/go/issues/29147 [5]: https://github.com/ziutek/emgo [6]: https://github.com/tinygo-org/tinygo [7]:…
    comment by cletus · 2020-04-30 · in Rob Pike interview
  9. …and Go's former inability to preemptively schedule tightly written loops? (Solved along the way: https://github.com/golang/go/issues/10958 ) Or something else?
  10. …https://nerves-project.org - Golang: + https://github.com/tinygo-org/tinygo + https://gobot.io/ + https://github.com/golang/go/wiki/GoArm - Rust I suppose you can just directly compile for any SoC like the RPi.
  11. …its way to it). This is for instance Go's implementation which is readable and well documented: https://github.com/golang/go/blob/master/src/cmd/compile/int...
    comment by giovannibajo1 · 2020-04-07 · in Synthesizing Optimal 8051 Code
  12. …would have to add support for this, but it would be a pretty elegant solution to the problem. [0]: https://github.com/golang/go/issues/37724
  13. Go doesn't use a generated parser. Both the parser and the lexer are hand-written: https://github.com/golang/go/blob/master/src/go/parser/parse... https://github.com/golang/go/blob/master/src/go/scanner/scan... Why did you think it was…
    comment by atombender · 2020-03-05 · in Why not to use (f)lex, yacc or bison
  14. It has already caused several issues in golang, and this is an example: https://github.com/golang/go/issues/16474
    comment by apta · 2020-03-04 · in Is Go Duck-Typed?
  15. …of the local scope). Not to mention interfaces are badly designed, leading to issues like this: https://github.com/golang/go/issues/16474
    comment by apta · 2020-02-28 · in I Want Off Mr. Golang's Wild Ride
  16. …interface design also encourages hacks (which lead to difficult to track down bugs) like this: https://github.com/golang/go/issues/16474
    comment by apta · 2020-02-28 · in I Want Off Mr. Golang's Wild Ride
  17. …broken assumptions, I know this particular one was discovered independently by many people: https://github.com/golang/go/blob/71ab9fa312f8266379dbb358b9... https://marcan.st/2017/12/debugging-an-evil-go-runtime-bug/
    comment by rhinoceraptor · 2020-02-28 · in I Want Off Mr. Golang's Wild Ride
  18. …stems from a file whose contents are: // This file is intentionally empty. // It's a workaround for https://github.com/golang/go/issues/15006 I about fell out of my chair. Pure gold.
    comment by gavinray · 2020-02-28 · in I Want Off Mr. Golang's Wild Ride
  19. For others following along - this is https://github.com/golang/go/issues/5901 to register custom marshallers on an existing `json.Encoder` instance. I feel like it's generally possible to work around this by creating a wrapper struct with…
    comment by mappu · 2020-02-26 · in Go 1.14 release notes
  20. …root as the search scope, so behavior will vary based on the directory you open in your editor [1] https://github.com/golang/go/issues/33030#issuecomment-51015...
    comment by typical182 · 2020-02-25 · in Go 1.14
  21. …please note that it has been implemented in the latest version. See issue #33655. [1] https://github.com/golang/go/issues/26827#issuecomment-55194...
    comment by typical182 · 2020-02-25 · in Go 1.14
  22. …itter.com/_rsc/status/1022588289461743617 Godoc is broken because of it and Rob Pike doesn't like it: https://github.com/golang/go/issues/26827#issuecomment-51584... VScode with gomodules is still bad even with gopls restarting every 20m:…
    comment by marcrosoft · 2020-02-25 · in Go 1.14
  23. Ok, we've changed to that URL from https://github.com/golang/go/releases/tag/go1.14 . Thanks!
    comment by dang · 2020-02-25 · in Go 1.14 release notes
  24. …times are still much longer than what they were pre-1.5 when the compiler was written in C. [1] https://github.com/golang/go/issues/6853
    comment by calcifer · 2020-02-25 · in Fuchsia Programming Language Policy
  25. There's a huge discussion here, if you're interested: https://github.com/golang/go/issues/19814 TBH I thought adding enums was a cut and dried case until reading through some opposing opinions. Now I'm not so sure.
    comment by 0xFACEFEED · 2020-02-23 · in The Zen of Go
  26. …Go mobile[2]. [0] - https://ionicframework.com [1] - https://capacitor.ionicframework.com [2] - https://github.com/golang/go/wiki/Mobile
  27. You get problems like this, which you don't get in traditional OO languages: https://github.com/golang/go/issues/16474
    comment by apta · 2020-02-23 · in The Zen of Go
  28. …some of their design decisions are objectively bad, and go against their claim in the first place: https://github.com/golang/go/issues/16474
    comment by apta · 2020-02-23 · in The Zen of Go
  29. Also related: https://github.com/golang/go/issues/36177#issuecomment-56767...
    comment by mseepgood · 2020-02-19 · in Generics in Go with Ian Lance Taylor (2019)
  30. Seems like this has been merged: https://github.com/golang/go/issues/35112 https://github.com/golang/proposal/blob/master/design/35112-...
  31. …-ldflags '-extldflags "-fno-PIC -static"' -buildmode pie -tags 'osusergo netgo static_build' See https://github.com/golang/go/issues/26492
    comment by zegl · 2020-02-11 · in I Was Wrong about Nix
  32. …ub.docker.com/_/scratch/?tab=description [2]: https://github.com/GoogleContainerTools/distroless [3]: https://github.com/golang/go/commit/62f0127d8104d8266d9a3fb5... [4]: https://d7y.io/en-us/docs/userguide/download_files.html
    comment by hardwaresofton · 2020-02-11 · in I Was Wrong about Nix
  33. …go. They maintain one compiler and two front ends: llvm: https://go.googlesource.com/gollvm/ gcc: https://github.com/golang/gofrontend Go: https://github.com/golang/go/tree/master/src/cmd/compile And I believe all three are maintained by…
  34. …doesn't make that much of a difference. See this commit for actual benchmarks about the impact: https://github.com/golang/go/commit/3be4d95731a17073afb1f69b...
    comment by TheNorthman · 2020-02-07 · in Python dicts are now ordered
  35. In case anyone else is curious: https://github.com/golang/go/issues/6719
    comment by ivanfon · 2020-02-07 · in Python dicts are now ordered
  36. Why /does/ it run a GC every 2 minutes? I went looking and didnd't find a reason in the code... https://github.com/golang/go/search?q=forcegcperiod&unscoped... Go's GC seems kind of primitive.
    comment by fmakunbound · 2020-02-04 · in Why Discord is switching from Go to Rust
  37. https://github.com/golang/go/blob/e6ebbe0d20fe877b111cf4ccf8... Ouch, Go never ceases to amaze. The Bitbucket case[0] is even more crazy, calling out to the Bitbucket API to figure out which VCS to use. It has a special case for private…
    comment by Nullabillity · 2020-02-04 · in Why Discord is switching from Go to Rust
  38. …replacing string keys with fixed size byte arrays. Curious if you experimented this approach? [0] https://github.com/golang/go/issues/9477 [1] https://go-review.googlesource.com/c/go/+/3288
  39. …best I've seen against try. (apologies for indentation change - not sure why hn can't preserve it) https://github.com/golang/go/issues/32437#issuecomment-49893... ________________________________________________________________ I actually…
    comment by pleasenotry · 2020-01-29 · in Proposals for Go 1.15
  40. …you can't guarantee clients will be able to use ECC. See this issue (from my initial link): https://github.com/golang/go/issues/20058
    comment by grammarxcore · 2020-01-29 · in Proposals for Go 1.15
  41. All of the Go commits are public, you can look at them for yourself: • https://github.com/golang/go/graphs/contributors • https://github.com/golang/build/graphs/contributors Brad also once gave a lightning talk about HTTP/2 that had 80+…
    comment by shurcooL · 2020-01-28 · in An Update on Bradfitz: Leaving Google
  42. …it obscures stack traces so that it's impossible to use them to locate panic in decorated handler: https://github.com/golang/go/issues/27375
  43. Looks like Go v2 might get decimal floating point numbers support: https://github.com/golang/go/issues/19787
    comment by gdm85 · 2020-01-25 · in Using floating-point numbers for money
  44. …file? It's meant to be used for exactly this purpose and the wiki uses the fork example as well: https://github.com/golang/go/wiki/Modules#when-should-i-use-...
    comment by PhilippGille · 2020-01-22 · in Go's Tooling Is an Undervalued Technology
  45. https://github.com/golang/go/compare/master...kstenerud:mast... > this commit will not go into mainline go Truly unfortunate. I don't write Go, but so often I comment out large swaths of code for debugging purposes and get warnings for…
  46. This workflow works fine for me: https://github.com/golang/go/wiki/Ubuntu
    comment by AlexCoventry · 2020-01-22 · in Go's Tooling Is an Undervalued Technology
  47. …attempts to reduce the repetitive `if err != nil { ... }` through some abstraction failed. Look at https://github.com/golang/go/issues/32825
    comment by mfateev · 2020-01-11 · in Goodbye, Clean Code
  48. Indeed! Even the Go wiki advocates exactly what you're saying about looking at the tradeoffs: https://github.com/golang/go/wiki/MutexOrChannel
    comment by shabbyrobe · 2020-01-07 · in Go Things I Love: Channels and Goroutines
  49. …be addressed in Go 1.14 (although it's been marked as Backlog since I last looked at that issue). https://github.com/golang/go/issues/32492 Point being Go, like OP of this thread suggests, has some issues. This is, to me, a critical flaw…
    comment by grammarxcore · 2020-01-06 · in Always Review Your Dependencies, AGPL Edition
  50. …been made (see links in the thread), it's not a global fix and Go ciphers can be absysmally slow. https://github.com/golang/go/issues/20058 The recommended fix is to use a library like this one. However, that means your containers blow up…
    comment by grammarxcore · 2020-01-06 · in Always Review Your Dependencies, AGPL Edition