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
-
…well-established standards of use Here are some companies that may disagree with the author: https://github.com/golang/go/wiki/GoUsers
comment by lioeters · 2020-09-19 · in Golang Is Not Ready for Enterprise Systems yet and Here’s Why -
…the BEAM: https://github.com/erlang/otp/blob/master/erts/emulator/beam... On the Go side, check out https://github.com/golang/go/tree/master/src/runtime/proc.go and the asm* implementations. It's been a little while since I looked at it,…
comment by tokenrove · 2020-09-11 · in Scaling Erlang Developer Experience at WhatsApp [pdf] -
…enough. Somewhere in the comments someone mentioned that "the actual info" on modules is here: https://github.com/golang/go/wiki/Modules which is slightly better but for some reason isn't in the official docs, and also basically brushes…
comment by dmitriid · 2020-09-10 · in Go modules have a v2+ problem -
…code" https://golang.org/doc/code.html , have been writing loads of reference material (follow in https://github.com/golang/go/issues/33637 ), have several tutorials on the way, are thinking and talking about a "cheatsheet", are building…
comment by deklerk · 2020-09-10 · in Go modules have a v2+ problem -
…What? I solved it by looking through this issue that comes at the top of Google Search for it: https://github.com/golang/go/issues/35732
comment by dmitriid · 2020-09-10 · in Go modules have a v2+ problem -
Most likely people don't know where the doc is, Go documentation for module is excellent: https://github.com/golang/go/wiki/Modules
comment by Thaxll · 2020-09-10 · in Go modules have a v2+ problem -
…or v1.5.0-rc.1. The leading v is required. If using Git, tag released commits with their versions https://github.com/golang/go/wiki/Modules#modules (I find this reference exceedingly helpful, and wish it were somewhere more official than…
comment by llimllib · 2020-09-10 · in Go modules have a v2+ problem -
…be a single letter (i, r). More unusual things and global variables need more descriptive names." https://github.com/golang/go/wiki/CodeReviewComments#variabl...
comment by Cthulhu_ · 2020-08-31 · in How to Write Unmaintainable Code (2003) -
…in the standard library after a server I wrote oddly kept eternally open-connections[1]. [1] https://github.com/golang/go/issues/213
comment by dvt · 2020-08-31 · in An interesting mistake with Go's context package -
…taking context.Context. The new FS API proposal makes no mention of deadlines or contexts. [2] [1] https://github.com/golang/go/issues/41054 [2] https://github.com/golang/go/issues/5636#issuecomment-661926...
comment by networkimprov · 2020-08-30 · in An interesting mistake with Go's context package -
…[1] Go supports timeouts on network & file read/write ops, which can be used to interrupt them. [1] https://github.com/golang/go/issues/41054
comment by networkimprov · 2020-08-29 · in Don't trust default timeouts -
https://github.com/golang/go/blob/dev.go2go/src/cmd/go2go/te... A general question. Is there a reason to add those arguments instead of just using them directly inside the goroutine and so passing the arguments implicitly?
comment by DelightOne · 2020-08-29 · in I thought I would have accomplished a lot more today and also before I was 35 -
…There's a whole page of these "tricks" that are necessary to perform basic operations on slices: https://github.com/golang/go/wiki/SliceTricks
comment by pansa2 · 2020-08-28 · in New case studies about Google’s use of Go -
…talking about TLS certs, WAF and other concerns that also may bring nginx etc on board anyhow. [1] https://github.com/golang/go/issues/16100
comment by clon · 2020-08-14 · in What's new in PHP 8? -
…and I am thrilled about it and what it means for keeping the Go X.509 ecosystem modern and secure. https://github.com/golang/go/issues/39568#issuecomment-67142... crypto/tls Configs now have a spiffy VerifyConnection callback that runs for…
comment by FiloSottile · 2020-08-11 · in Go 1.15 Released -
…. Official blog post: https://blog.golang.org/go1.15 . Some fixes already planned for Go 1.15.1: https://github.com/golang/go/milestone/162 .
comment by ainar-g · 2020-08-11 · in Go 1.15 Released -
…om/r/golang/comments/hv976o/qa_iofs_draf... It was prompted by this proposal for os.Readdirentries(): https://github.com/golang/go/issues/40352 It seems to me that FileInfo isn't a suitable interface for either a general filesystem…
comment by networkimprov · 2020-08-06 · in File System Interfaces for Go – Draft Design -
They are aware: https://github.com/golang/go/issues/16399 Seems like they postponed incorporating fastwalk into the standard library because it would break API: https://godoc.org/golang.org/x/tools/internal/fastwalk Perhaps until then one…
comment by hu3 · 2020-08-05 · in File System Interfaces for Go – Draft Design -
There is a proposal to replace os.Readdir() here: https://github.com/golang/go/issues/40352
comment by networkimprov · 2020-08-05 · in File System Interfaces for Go – Draft Design -
…being considered now after ideas matured in the community and people developed ways around it (see https://github.com/golang/go/issues/35950 ). The outcome will probably be something that will be robust and stable and once in the language…
comment by henvic · 2020-08-05 · in File System Interfaces for Go – Draft Design -
I think the first page of the commit history ( https://github.com/golang/go/commits/master?after=f235275097... ) is a little better
comment by msingle · 2020-08-05 · in First Git commit 19 July 1972 -
…tag, but that was abandoned because a lot of code hosting sites would not have been supported yet: https://github.com/golang/go/issues/39559 https://github.com/golang/go/issues/40477 That is why they decided to turn it into an…
comment by throwayws · 2020-08-02 · in Pkg.go.dev is more concerned with Google's interests than good engineering -
> Anyway it seems that the repo was not added to pkg.dev automatically: > > https://github.com/golang/go/issues/38326 The way this works (or rather, worked) is that you first need to "go get" a module and then it gets picked up by the…
comment by arp242 · 2020-08-01 · in Pkg.go.dev is more concerned with Google's interests than good engineering -
…Did somebody look into why? Anyway it seems that the repo was not added to pkg.dev automatically: https://github.com/golang/go/issues/38326 and the automatic fetching should work now: https://github.com/golang/go/issues/37002
comment by throwayws · 2020-08-01 · in Pkg.go.dev is more concerned with Google's interests than good engineering -
…have repeatedly stated that its type system being very limited is intentional. See e.g. here: https://github.com/golang/go/issues/29649#issuecomment-45482... TBH, sometimes I wonder why they bothered with static typing at all...
comment by dahauns · 2020-07-25 · in Cold Showers: For when people get too hyped up about things -
…in; it doesn't have much cleverness so most code is instantly readable. Take a random file from https://github.com/golang/go/tree/master/src and any developer will understand it and be able to make changes. They optimized the language for…
comment by Cthulhu_ · 2020-07-24 · in Go command support for embedded static assets (files) -
…a 3rd party site, and this issue is still open [#16922 doc: document assembly calling convention]( https://github.com/golang/go/issues/16922 ) btw the source i linked in my original comment links to a proposal to allow passing args in…
comment by uryga · 2020-07-22 · in Life without line numbers for 6% smaller Go binaries -
The golang project itself is a perfect example: https://github.com/golang/go/blob/master/src/Make.dist
comment by dcow · 2020-07-18 · in Falsehoods programmers believe about build systems (2012) -
…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 -
…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 -
…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
comment by throw_m239339 · 2020-07-15 · in Go generics may use square brackets [] not parenthesis () -
…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 -
…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...
comment by MaxBarraclough · 2020-07-08 · in Git commit accepts several message flags (-m) to allow multiline commits -
…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).
comment by alderz · 2020-07-08 · in Git commit accepts several message flags (-m) to allow multiline commits -
…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 -
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 -
…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
comment by dm319 · 2020-07-03 · in LFortran: Modern interactive LLVM-based Fortran compiler -
…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) -
…for wrapping around OpenGL and the likes, in a (complex) gaming context. See issues like this: https://github.com/golang/go/issues/19574
comment by sk0g · 2020-06-28 · in Building a high performance JSON parser -
…ttps://github.com/qiniu/goplus/wiki/Error-Handling foo()? // for goplus try(foo()) // the go proposal https://github.com/golang/go/issues/32437
comment by maxmcd · 2020-06-19 · in GoPlus – The Go+ language for data science -
…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]:…
comment by lima · 2020-06-18 · in Gocker: Docker implemented in 1.3k lines of Go -
…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 -
For reference https://github.com/golang/go/wiki/WebAssembly
comment by rudolph9 · 2020-06-12 · in Go 1.15 – Draft release notes -
…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…
comment by tialaramex · 2020-06-09 · in GnuTLS: TLS 1.3 session resumption works without master key, allowing MITM -
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 -
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 -
…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 -
…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 -
…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 -
…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