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
20082026
-
…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 -
…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).
comment by geofft · 2017-12-13 · in Show HN: Joy – a Go to JavaScript compiler -
https://github.com/golang/go/issues/9
comment by StevePerkins · 2017-12-12 · in The Q# Programming Language -
…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 -
…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 -
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 -
…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 -
…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 -
…## 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 -
…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 -
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 -
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 -
…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 -
▲ 2
Exponentiation incorrect in Gostory by ianopolous · 2017-11-24 · 0 comments
-
…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 -
…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... -…
comment by klodolph · 2017-11-09 · in Ask HN: Which TypeScript codebase should I study to get better? -
…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 -
▲ 2
Go mobilestory by tomcam · 2017-10-20 · 0 comments
-
…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 -
…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 -
…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 -
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 -
…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…
comment by uluyol · 2017-10-04 · in Avoid Vendor Lock-In Risk with Multi-Cloud Deployments -
…state across reloads would be challenging, but I don't think it would be an impossible feat. https://github.com/golang/go/issues/18892
comment by overcyn · 2017-10-03 · in Matcha – A framework for building iOS and Android apps in Go -
…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 -
…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 -
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 -
…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++ -
▲ 68
Golang Proposal: Just Use GitHubstory by ahacker15 · 2017-09-21 · 83 comments
-
…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 -
…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 -
Nope. Here: https://github.com/golang/go/wiki/WindowsCrossCompiling
comment by rcarmo · 2017-09-20 · in Golang: Don't be afraid of makefiles -
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 -
so this: https://github.com/golang/go/issues/21806 ?
comment by tapirl · 2017-09-10 · in The Xorshift128+ random number generator fails BigCrush -
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…
comment by twotwotwo · 2017-09-08 · in Implementing strcmp, strlen, and strstr using SSE 4.2 instructions (2008) -
…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 -
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 -
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 -
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 -
…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 -
…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 -
Even better is to make a global var sink interface{}, and assign to it. https://github.com/golang/go/issues/14813
comment by aleksi · 2017-08-30 · in An adventure in trying to optimize math.Atan2 with Go assembly -
…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
comment by dvt · 2017-08-29 · in An adventure in trying to optimize math.Atan2 with Go assembly -
…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...
comment by bazzargh · 2017-08-29 · in An adventure in trying to optimize math.Atan2 with Go assembly -
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 -
This is the relevant change: https://github.com/golang/go/commit/0556e26273f704db73df9e7c...
comment by fmela · 2017-08-25 · in Go 1.9 is released -
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 -
▲ 1
Go Experience Reportsstory by grey-area · 2017-08-18 · 0 comments
-
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 -
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…
comment by vvanders · 2017-08-15 · in Rustgo: Calling Rust from Go with near-zero overhead