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
-
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 -
…Go mobile[2]. [0] - https://ionicframework.com [1] - https://capacitor.ionicframework.com [2] - https://github.com/golang/go/wiki/Mobile
comment by ricoberger · 2020-02-23 · in Show HN: Kubenav – An open source mobile app to manage Kubernetes cluster -
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 -
…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 -
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) -
Seems like this has been merged: https://github.com/golang/go/issues/35112 https://github.com/golang/proposal/blob/master/design/35112-...
comment by hrgiger · 2020-02-11 · in Distributed cache and K/V store in Go. Embeddable or independent service -
…-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 -
…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 -
▲ 1
Go proposal: error passing with “pass”story by bitt · 2020-02-10 · 1 comment
-
…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…
comment by kyrra · 2020-02-09 · in Flang: The Fortran frontend of LLVM [video] -
…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 -
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 -
▲ 4
Go Wiki – Webassemblystory by bigato · 2020-02-05 · 0 comments
-
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 -
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 -
…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
comment by rvcdbn · 2020-02-04 · in Why Discord is switching from Go to Rust -
…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 -
…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 -
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 -
…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
comment by telendt · 2020-01-26 · in Make resilient Go servers using timeouts, deadlines and context cancellation -
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 -
…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 -
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…
comment by jakear · 2020-01-22 · in Go's Tooling Is an Undervalued Technology -
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 -
…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 -
▲ 1
Go Modules Wikistory by alexellisuk · 2020-01-11 · 0 comments
-
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 -
…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 -
…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 -
…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 -
▲ 1
Summary of the Go runtime memory corruption bug+fix on Linux 5.2story by dcu · 2019-12-05 · 0 comments
-
…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 -
▲ 1
Go issue: memory corruption on Linux 5.3.x from async preemptionstory by alderz · 2019-11-26 · 1 comment
-
…:= 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