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
20082026
-
…complaining about the difficulty of obtaining a static build in Go: There's an issue for that. ( https://github.com/golang/go/issues/26492 ) Drew definitely knows, he left an incredibly unhelpful comment there yesterday.
comment by majewsky · 2020-01-04 · in Hello World -
Rob Pike submit issue: https://github.com/golang/go/issues/36313
comment by todotask · 2019-12-30 · in Why are my Go executable files so large? -
In fact, there's a new issue opened (again, from Rob Pike) in response to this article: https://github.com/golang/go/issues/36313
comment by syockit · 2019-12-30 · in Why are my Go executable files so large? -
…tickets a few weeks ago and they explained why the Go developers haven't yet made this change. [0] https://github.com/golang/go/issues/18597 [1] https://github.com/golang/go/issues/27539
comment by tjalfi · 2019-12-30 · in Why are my Go executable files so large? -
Great writeup, I believe there is a open issue from Rob Pike 2013 this would fall under: https://github.com/golang/go/issues/6853
comment by kris-s · 2019-12-29 · in Why are my Go executable files so large? -
…of are using in the wild. see https://blog.twitch.tv/en/2019/04/10/go-memory-ballast-how-i... and https://github.com/golang/go/issues/23044 . A golang team member's reasons for not adding a minimum heap size include that it would require…
comment by correct_horse · 2019-12-24 · in Java JIT vs. Java AOT vs. Go for Small, Short-Lived Processes -
…Go has no proper solution see https://blog.twitch.tv/en/2019/04/10/go-memory-ballast-how-i... and https://github.com/golang/go/issues/23044
comment by correct_horse · 2019-12-23 · in Efficient cache for gigabytes of data written in Go -
> NOWHERE IN THE SOURCE CODE IS THIS FACT DOCUMENTED. The referenced commit ( https://github.com/golang/go/commit/675eb72c285cd0dd44a5f280... ) has /* SIGSETXID; see issue 3871, 9400 /, / SIGCANCEL; see issue 6997 */ > The way things…
comment by cornishpixels · 2019-12-19 · in Rob Pike on good commit messages (2014) -
For those Gophers reading this and sobbing silently, there may be hope: https://github.com/golang/go/issues/27589
comment by inputespresso · 2019-12-11 · in API Practices If You Hate Your Customers -
…are worse things in the world, still it's the reason why I don't use go any more. More examples: https://github.com/golang/go/wiki/SliceTricks
comment by thibran · 2019-12-09 · in The main sell point of Go is not simplicity, but overall balance and flexibility -
…improvement might be having a way to say "give me just the security fixes"." It's already possible: https://github.com/golang/go/wiki/Modules https://github.com/golang/go/wiki/Modules#how-to-upgrade-and...
comment by Thaxll · 2019-12-03 · in The Principles of Versioning in Go -
…like this, where you don't care about wasting a bit more RAM but do care about the GC work: https://github.com/golang/go/issues/23044 It references a patch to add a SetMaxHeap call, which could help in these kinds of situations too.
comment by twotwotwo · 2019-12-02 · in Go memory ballast: How I learnt to stop worrying and love the heap -
…to work this out and relevant people are working on this makes a strong argument for go IMO. https://github.com/golang/go/issues/23044
comment by codegladiator · 2019-12-02 · in Go memory ballast: How I learnt to stop worrying and love the heap -
…post from 2017: "Debugging an evil Go runtime bug" - https://news.ycombinator.com/item?id=15845118 https://github.com/golang/go/issues/20427 https://bugs.gentoo.org/637152 https://lkml.org/lkml/2017/11/10/188
comment by KindOne · 2019-11-27 · in AVX register corruption from signal delivery -
The issue that led to this bug report: https://github.com/golang/go/issues/35326
comment by jameskilton · 2019-11-27 · in AVX register corruption from signal delivery -
…Linux kernels break the recently integrated goroutine preemption logic. There is deep analysis here https://github.com/golang/go/issues/35326#issuecomment-55821... They have bisected the kernel and found that…
comment by alderz · 2019-11-26 · in Go issue: memory corruption on Linux 5.3.x from async preemption -
…:= len(a)-1-i a[i], a[opp] = a[opp], a[i] } This seems quite error prone. Idiomatic Go taken from https://github.com/golang/go/wiki/SliceTricks
comment by millstone · 2019-11-17 · in The Value in Go’s Simplicity -
…reasoning unconvincing? [1] https://blog.twitch.tv/en/2019/04/10/go-memory-ballast-how-i... [2] https://github.com/golang/go/issues/23044
comment by MaulingMonkey · 2019-11-16 · in GC Fun at Twitch -
There is internal work on a SetMaxHeap API: https://github.com/golang/go/issues/23044 (there's a review of related code at https://groups.google.com/forum/#!topic/golang-codereviews/b... ). It isn't perfect (notably, heap size and process…
comment by twotwotwo · 2019-11-15 · in GC Fun at Twitch -
…happen after a thread is interrupted by the OS, is that the thread resumes exactly when it was. [0] https://github.com/golang/go/issues/24543
comment by tomp · 2019-11-13 · in Cooperative Threading -
…possible to deadlock Go with a certain incantation of tight looping. This is being worked on here: https://github.com/golang/go/issues/24543
comment by systemcluster · 2019-11-08 · in Async-await on stable Rust -
…know the details though. [1] https://tedwvc.wordpress.com/2013/07/19/finding-the-kernel32... [2] https://github.com/golang/go/issues/21805
comment by comex · 2019-11-04 · in Electron apps cannot be submitted to the Apple store -
…good example is the Go compiler. Assuming you have any version of Go in your PATH, it's: git clone https://github.com/golang/go cd go/src ./make.bash # or make.bat for Windows And that's it. You can then use "bin/go" to compile your…
comment by giovannibajo1 · 2019-10-28 · in SQLite is easy to compile -
…unofficial package [3][4]. [1] https://go.googlesource.com/proposal/+/master/design/29934-e... [2] https://github.com/golang/go/issues/29934 [3] https://github.com/pkg/errors [4] https://github.com/pkg/errors/tree/c978824
comment by guessmyname · 2019-10-19 · in Working with Errors in Go 1.13 -
…anytime over cryptic message. [0] https://github.com/ImageMagick/ImageMagick/commits/master [1] https://github.com/golang/go/commit/610d522189ed3fcf0d298609...
comment by m_sahaf · 2019-10-18 · in My Favourite Git Commit -
…problem though is that it requires all your code + all the dependencies to be under $GOPATH/src. https://github.com/golang/go/issues/33655 starts with: "At this time, the godoc command is only able to display packages that are located in a…
comment by dmitris · 2019-10-15 · in Rustup 1.20.0 -
The Go team is working on an update of its scheduler to make it preemptive. Will Tokio follow suit? https://github.com/golang/go/issues/24543
comment by networkimprov · 2019-10-14 · in Making the Tokio scheduler 10x faster -
…no IO one must wonder why you would not just port those bits to Go. (Example of scheduler issue: https://github.com/golang/go/issues/19574 ) I continue to contend that considering this to be a show stopper to be unfair or at least not very…
comment by jchw · 2019-10-12 · in Fibers aren’t useful for much any more -
…most recent Go release, the linked documentation doesn't yet take that into account, it would seem. https://github.com/golang/go/wiki/ErrorValueFAQ
comment by badrequest · 2019-10-11 · in Uber Go Style Guide -
…issues/comments(i.e [1] ) but in practice you find out about them when your program crashes. https://github.com/golang/go/issues/15924#issuecomment-45557...
comment by thefounder · 2019-10-10 · in Things you probably don't know about Go (2012) [slides] -
GitHub issue: https://github.com/golang/go/issues/27026 . Marked as [help wanted], so if you're a JS/CSS wizard, come send some CLs/MRs/PRs/what-do-they-call-patches-these-days.
comment by ainar-g · 2019-10-10 · in Things you probably don't know about Go (2012) [slides] -
…as happening in 2016-7. In the past couple years escape analysis has gotten a lot of effort ( https://github.com/golang/go/issues/23109 ) and there's also now mid-stack inlining ( https://github.com/golang/go/issues/19348 ) which obviously…
comment by twotwotwo · 2019-10-09 · in Einstein Analytics and Go -
…or not, and was subsequently closed. [0]: https://tools.ietf.org/html/rfc3339#section-5.6 [1]: https://github.com/golang/go/issues/31113
comment by lozf · 2019-10-06 · in A simple file encryption tool and format -
…interfaces 1. len, cap to return untyped ints if constant [0] https://golang.org/issue/6977 [1] https://github.com/golang/go/issues/31795 Major changes 2. Remove SSLv3 3. Make TLS 1.3 opt-out 4. Automatically check and use vendored…
comment by karmakaze · 2019-10-05 · in What's Coming in Go 1.14 [slides] -
…with sub-modules in multiple workspaces in vscode and ignore the sub-modules on the main workspace. https://github.com/golang/go/issues/32394
comment by geoah · 2019-10-05 · in What's Coming in Go 1.14 [slides] -
…notes: https://golang.org/doc/go1.13#compiler And GitHub says the commit is present in go1.13: https://github.com/golang/go/commit/996a687ebbf81b26f81b41b8...
comment by aaronbee · 2019-10-05 · in What's Coming in Go 1.14 [slides] -
…issue raised[2] about this seems to be stalled as well. [1] https://proxy.golang.org/privacy [2] https://github.com/golang/go/issues/33985
comment by xelekitry · 2019-10-05 · in What's Coming in Go 1.14 [slides] -
…dynamically link against libc, unless you disable cgo or force statically linking with libc. See https://github.com/golang/go/issues/26492 for more details. I think the purpose of the flag will be to force static linking in all edge cases,…
comment by mvdan · 2019-10-05 · in What's Coming in Go 1.14 [slides] -
There was a proposal https://github.com/golang/go/issues/7512 to make interface method return types covariant, but it didn't go anywhere, and people seemed to favor the broken behavior (returning a concrete type can fail to satisfy an…
comment by erik_seaberg · 2019-10-01 · in Go Interfaces, the Tricky Parts -
…should be defined where they are used, so searching for implementations becomes a non-issue anyway. https://github.com/golang/go/wiki/CodeReviewComments#interfa...
comment by rqk9j · 2019-10-01 · in Go Interfaces, the Tricky Parts -
…know which came first, the keyword or the name. 1. https://news.ycombinator.com/item?id=5182658 2. https://github.com/golang/go/commit/e4bd8e04087ac9e7c8b754df...
comment by jbarham · 2019-09-30 · in Creating the Go Programming Language [audio] -
Here's a Go2 proposal from Rob Pike to change Go's int to an arbitrary-precision BigInt: https://github.com/golang/go/issues/19623
comment by cpeterso · 2019-09-29 · in Bounded Integer: Header-only C++ library replaces integers, adds explicit bounds -
…runtime.c, and runtime.h all existed in Go 1.4 [2]. [0]: https://github.com/rsc/c2go [1]: https://github.com/golang/go/blob/7b294cdd8df0a9523010f6ffc8... [2]: https://blog.golang.org/gccgo-in-gcc-471 [3]:…
comment by benesch · 2019-09-13 · in Building a Better Go Linker -
…bias towards a particular, idiosynchratic way of doing things, which is not always a positive. [1] https://github.com/golang/go/commit/0cafb9ea3d [2] http://lambda-the-ultimate.org/node/715
comment by atombender · 2019-09-13 · in Building a Better Go Linker -
…its development easier as there is only one language to deeply know (plus assembly of course). [1] https://github.com/golang/go/issues/27539
comment by grumpydba · 2019-09-13 · in Building a Better Go Linker -
…golang.org/doc/faq#What_compiler_technology_is_used_... [7]: https://go.googlesource.com/gollvm/ [8]: https://github.com/golang/go/issues/18597
comment by benesch · 2019-09-13 · in Building a Better Go Linker -
…of expressions?). Not sure if things have changed, but this issue is still open 4 years later: https://github.com/golang/go/issues/11646 Not sure I fully understand the NFA vs DFA/re2 choices -- seem like the issue above conflicts with the…
comment by Tempest1981 · 2019-09-06 · in Go 1.13 Release Notes -
…working at Google to use open-source paradigms and be careful with anything involving corporations? https://github.com/golang/go/issues/34029
comment by arez · 2019-09-04 · in Go 1.13 Release Notes -
Compatible with what exactly. No one uses octal. Here is a link to Pike fucking it up 10 years ago. https://github.com/golang/go/issues/151#issuecomment-6604830...
comment by Gibbon1 · 2019-09-04 · in Go 1.13 Release Notes -
…because missing functionality and upstream EOL.[1] [0]: https://golang.org/doc/go1.11#runtime [1]: https://github.com/golang/go/issues/27619
comment by terinjokes · 2019-09-04 · in Go 1.13 Release Notes