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. …case where it could happen in very unexpected ways (which is now fixed on the go master branch): https://github.com/golang/go/issues/21149 Apart from the issue above I've found that it's usually quite easy to reason about though. Usually…
    comment by JelteF · 2018-01-02 · in Common Gotchas in Go
  2. …runtime needs to generate at least N+1 OS threads or your last goroutine will never get scheduled. https://github.com/golang/go/issues/11462 seems to be saying the same thing (by setting GOMAXPROCS to 1).
  3. https://github.com/golang/go/issues/9
    comment by StevePerkins · 2017-12-12 · in The Q# Programming Language
  4. …considered and might be happening. In the meantime you could write an Experience report[0]? [0] https://github.com/golang/go/wiki/ExperienceReports
    comment by folago · 2017-12-08 · in Go 1.10 Beta 1 is released
  5. …a fixed size, but that has changed: https://stackoverflow.com/questions/40943065/golang-why-runt... https://github.com/golang/go/commit/ee55000f6c45d2f5c38d9167... https://github.com/golang/go/issues/15131
    comment by shabbyrobe · 2017-12-08 · in Go 1.10 Beta 1 is released
  6. I don't agree, but if you think so, you can try making go2 better via https://github.com/golang/go/wiki/ExperienceReports
    comment by ynezz · 2017-12-07 · in Error handling in Upspin
  7. …more prompt and aggressive. [1] https://medium.com/samsara-engineering/running-go-on-low-mem... [2] https://github.com/golang/go/issues/16930
    comment by julenx · 2017-12-06 · in Why I love Go
  8. …Actually ignoring errors requires more work. And errcheck is apparently no silver bullet: https://github.com/golang/go/issues/20148
    comment by junke · 2017-12-06 · in Why I love Go
  9. …## I wrote this one. - https://github.com/Workiva/go-datastructures ## this one is also popular. - https://github.com/golang/go/wiki/Projects#data-structures ## big list here.
    comment by timtadh · 2017-12-05 · in Why I love Go
  10. …nothing to do with the Go programming language. Right? [0]: https://github.com/xlab/android-go [1]: https://github.com/golang/go/wiki/Mobile [2]: https://www.android.com/versions/oreo-8-0/go-edition/
    comment by biztos · 2017-12-05 · in Android 8.1 Oreo
  11. Don't forget about this one, similar but affects BSD and still open: https://github.com/golang/go/issues/15658
    comment by smegel · 2017-12-04 · in Debugging an evil Go runtime bug
  12. The investigation in the linked Go issue [1] is also impressive. [1] https://github.com/golang/go/issues/20427
    comment by dmitshur · 2017-12-04 · in Debugging an evil Go runtime bug
  13. …for a while but I believe it's still an issue. https://github.com/cockroachdb/cockroach/issues/2007 https://github.com/golang/go/issues/18896 https://github.com/golang/go/issues/14045
    comment by tychver · 2017-12-01 · in Erlang Garbage Collector
  14. ▲ 2
    Exponentiation incorrect in Go
    story by ianopolous · 2017-11-24 · 0 comments
  15. …reminiscent to how exceptions are used in other languages (that is, for control flow). For example, https://github.com/golang/go/blob/2596a0c075aeddec571cd658f7... panics, and https://github.com/golang/go/blob/2596a0c075aeddec571cd658f7...…
    comment by joeshaw · 2017-11-17 · in Understanding Go panic output
  16. …its outsized impact on performance, but even then, the code looks idiomatic to me. - Scanner.Scan() https://github.com/golang/go/blob/master/src/go/scanner/scan... - scan() https://github.com/Microsoft/TypeScript/blob/master/src/comp... -…
  17. …can find coding errors involving ignored errors in the Go standard library in minutes. Examples: 1) https://github.com/golang/go/blob/master/src/bufio/bufio.go#... 2) https://github.com/golang/go/blob/master/src/bufio/bufio.go#... 3)…
    comment by candiodari · 2017-10-26 · in Something Rotten in the Core
  18. ▲ 2
    Go mobile
    story by tomcam · 2017-10-20 · 0 comments
  19. …error handling less verbose, but as you can see in the link below, there are tradeoffs, as always: https://github.com/golang/go/issues/21161
    comment by ngrilly · 2017-10-18 · in Why we switched from Python to Go
  20. …out Amazon Linux (and some others) had removed a syscall that i386 Go on Linux was relying on ( https://github.com/golang/go/issues/14795 ). We built our product with a manual patch against "src/runtime/sys_linux_386.s" for many months as…
    comment by regecks · 2017-10-18 · in Why we switched from Python to Go
  21. …which I believe uses make. [1] https://github.com/Homebrew/homebrew-core/blob/master/Formul... [2] https://github.com/golang/go/blob/master/src/bootstrap.bash
    comment by saagarjha · 2017-10-05 · in Go 1.9.1 and Go 1.8.4 are released
  22. It's pretty good, but I disagree about net/http being ready out of the box. https://github.com/golang/go/issues/16100 Your choice is to support streaming requests and suffer from a trivial slow client DOS, out of the box, or force a…
    comment by yumyumyumyumyum · 2017-10-04 · in Go 1.9.1 and Go 1.8.4 are released
  23. …BigTable. They do use it for basically everything not built on Spanner. [1] See recent activity on https://github.com/golang/go/issues/10958 [2] Go has a ways to match GCC, but you can work around the language for now to get close to C. If…
  24. …state across reloads would be challenging, but I don't think it would be an impossible feat. https://github.com/golang/go/issues/18892
  25. …zero-dependency binary will just stop working next time Apple changes or removes a syscall: https://github.com/golang/go/issues/16570 . Coincidentally, code written in C doesn't have that problem.
    comment by int_19h · 2017-09-29 · in Modern terminal-based text editor
  26. …Edit: for instance go broke once for macOS Sierra, when Apple changed the gettimeofday system call: https://github.com/golang/go/issues/16570
    comment by legulere · 2017-09-25 · in Linux System Call Table
  27. also, there's been work to make for-loops preemptible: - https://github.com/golang/go/issues/10958 - https://go-review.googlesource.com/c/go/+/33910 - https://go-review.googlesource.com/c/go/+/36206 - https://go-review.googlesource.com/c/go…
    comment by sbinet · 2017-09-22 · in Gonum – Numerical Computing for Go
  28. …Windows and Mac (the syscall interfaces aren't stable, and this has broken Go code in the past: https://github.com/golang/go/issues/16272 ). And gc, the primary Go compiler and the one with out-of-the-box cross-compilation, supports…
    comment by kibwen · 2017-09-22 · in Mrustc: a Rust compiler written in C++
  29. ▲ 68
    Golang Proposal: Just Use GitHub
    story by ahacker15 · 2017-09-21 · 83 comments
  30. …things than shuffling data around. https://stackoverflow.com/questions/43343231/enhanced-rep-mo... https://github.com/golang/go/issues/14630 Why is that supposed to be more difficult? Matching combinable instructions is trivial. How is it…
    comment by userbinator · 2017-09-21 · in A smaller, cheaper RISC V board
  31. …of the optimism and persistence displayed, partly in a ohmigoditsatrainwreckcantlookaway-way ;) https://github.com/golang/go/issues/20982
    comment by e12e · 2017-09-20 · in Golang: Don't be afraid of makefiles
  32. Nope. Here: https://github.com/golang/go/wiki/WindowsCrossCompiling
    comment by rcarmo · 2017-09-20 · in Golang: Don't be afraid of makefiles
  33. You can cross-compile, and I’ve done it a couple of times without any issues: https://github.com/golang/go/wiki/WindowsCrossCompiling
    comment by rcarmo · 2017-09-20 · in Golang: Don't be afraid of makefiles
  34. so this: https://github.com/golang/go/issues/21806 ?
  35. Go's implementation seems to mostly live in https://golang.org/src/strings/strings_amd64.go and https://github.com/golang/go/blob/master/src/runtime/asm_amd... (search 'indexbyte' and 'indexshortstr'). At least some of the stuff to use…
  36. …standard library primitives are not shims (or more complex structures) built on top of libc? 1: https://github.com/golang/go/issues/14476
    comment by kbenson · 2017-09-07 · in LLVM 5.0.0 Release
  37. And yet this issue remains unsolved: https://github.com/golang/go/issues/16100 Your choice is force a timeout and kill streaming requests, but defend against slow client DOS, or support streaming requests and suffer from a trivial slow…
    comment by yumyumyumyumyum · 2017-09-07 · in Nginx Unit
  38. Please report the limitations you have to offer, so Golang2 can get better! https://github.com/golang/go/wiki/ExperienceReports
    comment by DelightOne · 2017-09-05 · in Go Assembly by Example
  39. OK, another commenter linked to crc32 in the Go standard library: https://github.com/golang/go/tree/master/src/hash/crc32 That has different .s files for different architectures, and a .go file with the platform-independent version, so the…
    comment by iainmerrick · 2017-09-05 · in Go Assembly by Example
  40. …a lower level `go tool` command, of course, but I don't know it off the top of my head. [0]: https://github.com/golang/go/tree/master/src/hash/crc32
    comment by benesch · 2017-09-05 · in Go Assembly by Example
  41. …So yes, I expect it to affect the direction of SmartOS -- and very much for the better! [1] https://github.com/golang/go/issues/20603
    comment by bcantrill · 2017-09-05 · in The sudden death and eternal life of Solaris
  42. Even better is to make a global var sink interface{}, and assign to it. https://github.com/golang/go/issues/14813
  43. …last year[2] by Russ Cox. [1] https://lemire.me/blog/2016/12/21/performance-overhead-when-... [2] https://github.com/golang/go/issues/17373
  44. …that go does use FPATAN on 386 but not Amd64 - found this bug which explains the issues involved: https://github.com/golang/go/issues/17069#issuecomment-24637...
  45. You piqued my curiosity :) A comment in the source for the release notes ( https://github.com/golang/go/blob/master/doc/go1.9.html#L922 ) points to the relevant change: https://go-review.googlesource.com/c/go/+/34310 , which in turn links…
    comment by emfree · 2017-08-25 · in Go 1.9 is released
  46. This is the relevant change: https://github.com/golang/go/commit/0556e26273f704db73df9e7c...
    comment by fmela · 2017-08-25 · in Go 1.9 is released
  47. Thanks and please check this proposal for go2: https://github.com/golang/go/issues/19814 Thumbs up if you like it.
    comment by kokwak · 2017-08-25 · in Go 1.9 is released
  48. ▲ 1
    Go Experience Reports
    story by grey-area · 2017-08-18 · 0 comments
  49. Mentions reporting problems with Go on the Experience Reports, probably at this page: https://github.com/golang/go/wiki/ExperienceReports
    comment by kristianp · 2017-08-18 · in The Future of Go
  50. I mean, kinda but not? Based on https://github.com/golang/go/issues/12416 / https://golang.org/cmd/cgo/ : > However, C code may not keep a copy of the Go pointer after the call returns. It looks like they've just punted on the pinning…