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. The golang project itself is a perfect example: https://github.com/golang/go/blob/master/src/Make.dist
  2. …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
  3. …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
  4. …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
  5. …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
  6. …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...
  7. …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).
  8. …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
  9. 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
  10. …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
  11. …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)
  12. …for wrapping around OpenGL and the likes, in a (complex) gaming context. See issues like this: https://github.com/golang/go/issues/19574
  13. …ttps://github.com/qiniu/goplus/wiki/Error-Handling foo()? // for goplus try(foo()) // the go proposal https://github.com/golang/go/issues/32437
  14. …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]:…
  15. ▲ 2
    Golang – DeepEqual can return true for values that are not equal
    story by nitinreddy88 · 2020-06-17 · 0 comments
  16. …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
  17. For reference https://github.com/golang/go/wiki/WebAssembly
    comment by rudolph9 · 2020-06-12 · in Go 1.15 – Draft release notes
  18. …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…
  19. 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
  20. 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
  21. …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
  22. …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
  23. ▲ 1
    Proposal to add sum types to Go
    story by azhenley · 2020-06-04 · 0 comments
  24. …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
  25. …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
  26. 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
  27. 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
  28. …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)
  29. ▲ 5
    Go 2 proposal: simplify error handling with "pass" or "return if"
    story by kevlar1818 · 2020-05-09 · 1 comment
  30. 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…
  31. …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
  32. …allow mutex free communication between goroutines without a pain. Channels are not lock free: https://github.com/golang/go/issues/8899
  33. 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
  34. …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
  35. …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?
  36. …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.
  37. …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
  38. …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
  39. 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
  40. 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?
  41. …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
  42. …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
  43. …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
  44. …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
  45. 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
  46. …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
  47. …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
  48. …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
  49. 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
  50. …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