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
-
…extremely dismissive of the idea, even though it had been shown to cause pain for a lot of people: https://github.com/golang/go/issues/12914#issuecomment-15075...
comment by brown9-2 · 2019-05-22 · in Go is Google's language, not ours -
…remove those special cases from Go 1.13. At least, they removed the really ugly special cases! [1] https://github.com/golang/go/issues/29934#issuecomment-48968...
comment by ra7 · 2019-05-22 · in Go is Google's language, not ours -
…that draft 2 of Error Handling [2] won't look anything like draft 1, for reasons such as [3]. [1] https://github.com/golang/go/issues/29934 [2] https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback [3]…
comment by networkimprov · 2019-05-22 · in Go is Google's language, not ours -
Go wanted to deprecate OpenPGP support. But, it looks as if they have walked that back a lot: https://github.com/golang/go/issues/30141 "We will be deprecating the packages listed above, except openpgp/, otr/ and xts/. I'll update the…
comment by w8rbt · 2019-05-16 · in GopenPGP, an open source encryption library for native applications -
https://github.com/rust-lang/rust currenly has 4738 open and 25,000 closed. https://github.com/golang/go currently has 4412 open and 27,000 closed. https://github.com/npm/npm had 2166 before moving to community,forum.…
comment by mtmail · 2019-05-15 · in Ask HN: Which GitHub repo has the most open issues? -
…in-lining. I also found this[0] page which lists some optimizations done by the compiler. [0] https://github.com/golang/go/wiki/CompilerOptimizations edit: You can see what the compiler emits as assembly code with `-gcflags '-S'` so you…
comment by __HYde · 2019-05-13 · in Fast Compilers for Fast Programs -
https://github.com/golang/go/issues/31977
comment by atombender · 2019-05-11 · in Gopls: Language server protocol implementation for Go -
…cannot always see through them. This is now fixed for simple cases in Go, but only very recently: https://github.com/golang/go/issues/19361 Ironically, Java HotSpot handles the use case of Reader and Writer better than Go does, since when…
comment by pcwalton · 2019-05-10 · in IT Runs on Java 8 -
…is going to be supportable in the future (I'm not talking about UB, races or memory leaks). [0]: https://github.com/golang/go/issues/18138 Edit: wording
comment by lepage · 2019-05-07 · in Practices for writing high-performance Go -
Is there a Github issue for this problem? If not, would you consider filing one? https://github.com/golang/go/issues It should probably explain why one cannot "avoid its global allocator" by using pools and/or stack objects.
comment by networkimprov · 2019-05-06 · in Practices for writing high-performance Go -
…though [0] https://golang.org/pkg/sync/#Pool [1] https://blog.golang.org/profiling-go-programs [2] https://github.com/golang/go/issues/22950
comment by kevinconaway · 2019-05-06 · in Practices for writing high-performance Go -
…with actual source code in some way) reading it rather than writing it. At the moment I'm reading https://github.com/golang/go/blob/master/src/encoding/json/e... to diagnose a problem in my code. Overall, the readability is good. My only…
comment by kstenerud · 2019-05-05 · in Applying the Gestalt Principles to Code -
…If you're having problems with this feature, please file a bug on the Go issue tracker ( https://github.com/golang/go/issues ). Thanks!
comment by stamblerre · 2019-04-30 · in Gopls: Language server protocol implementation for Go -
▲ 63
Gopls: Language server protocol implementation for Gostory by ra7 · 2019-04-30 · 15 comments
-
…to existing APIs, and perhaps a way to re-enable them on a per-function or per-package basis. [1] https://github.com/golang/go/issues/29934 [2] https://blog.golang.org/go2-here-we-come [3] https://github.com/golang/go/issues/29934#issuecomm…
comment by networkimprov · 2019-04-29 · in Go 1.13: xerrors -
That is not part of xerrors at this point. Rationale: https://github.com/golang/go/issues/29934#issuecomment-46420... Personally, I don't care for "string magic" Edit: Instead of making another post, I'll add this here. It also feels odd…
comment by acrispino · 2019-04-29 · in Go 1.13: xerrors -
…been Python everywhere). PS: I still brag about Rob Pike & Russ Cox approving my patches ;) [1] https://github.com/golang/go/issues/93
comment by dvt · 2019-04-27 · in Show HN: A minimal and idiomatic WebSocket library for Go -
…there. :) https://gophers.slack.com -- The WebAssembly page on the Go wiki has useful info too: :) https://github.com/golang/go/wiki/WebAssembly
comment by justinclift · 2019-04-23 · in Ask HN: Is WebAssembly the next big thing? Is it worth investing in learning? -
Are the maintainers aware that Bleve is unsafe to use on MacOS with Go 1.11 and earlier? https://github.com/golang/go/issues/26650
comment by networkimprov · 2019-04-08 · in Bleve: Full-text search and indexing for Go -
…2 error handling[2] because the Go team's Draft Design document omitted a requirements section. [1] https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback [2] https://gist.github.com/networkimprov/961c9caa2631ad3b95413f...
comment by networkimprov · 2019-04-06 · in Error Handling in Go (2016) -
…health of the language. [1]: https://go.googlesource.com/proposal/+/master/design/go2draf... , or https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback for the current state / counterpoints / etc
comment by Groxx · 2019-04-06 · in Error Handling in Go (2016) -
Algernon does a bit more than plain Nginx or Apache. 24.4 MiB also includes bloat. See: https://github.com/golang/go/issues/27266 https://github.com/golang/go/issues/2559 Hopefully we can get smaller binaries by Go 1.13.
comment by Propolice · 2019-04-05 · in Self-Contained Pure-Go Web Server with Lua, MD, HTTP/2, QUIC, Redis Support -
▲ 3
Go Slice Tricksstory by ra7 · 2019-04-04 · 0 comments
-
…Yes, it is. 5%-10% in the very link you posted. > "golang do heavy inline-ing" No, it does not. See https://github.com/golang/go/issues/17566 > "most of its performance comes from concurrency" That's just ridiculous. They didn't write all…
comment by 1_000_000 · 2019-04-02 · in Size visualization of Go executables using D3 -
…on stack actually make concurrency easier. That said, there is a proposal to do it in register: https://github.com/golang/go/issues/18597 It is challenging and not in high priority. The current priority is do more inlining.
comment by j16sdiz · 2019-04-02 · in Size visualization of Go executables using D3 -
…difference - you'll see a big difference if compiling the same project with go-1.10.z vs go-1.12.z https://github.com/golang/go/issues/27266 a very recent cause of pclntab getting huge is adding preemption safepoint info for every…
comment by ploxiln · 2019-04-02 · in Size visualization of Go executables using D3 -
…Looks like it's a 5-10% performance hit, but makes it easier to provide good backtrace information: https://github.com/golang/go/issues/18597
comment by cakoose · 2019-04-02 · in Size visualization of Go executables using D3 -
…gzipped, will double check what's up with that). More info on the size of Go's wasm binaries here: https://github.com/golang/go/wiki/WebAssembly#reducing-the-s... The doc site is a prototype and proof-of-concept using Vugu. First attempt,…
comment by bradpeabody · 2019-03-30 · in Vugu: Experimental library for web UIs written in Go and targeting WebAssembly -
…and seems to be in a pretty uncertain state. This issue is tracking compatibility of common tools https://github.com/golang/go/issues/24661
comment by buckhx · 2019-03-21 · in Using Go Modules -
…help here. It allows you to forgo semver+version control and depend on modules on your local disk. https://github.com/golang/go/wiki/Modules#can-i-work-entirel...
comment by knownunown · 2019-03-20 · in Using Go Modules -
Not all go tools respect symlinks, since Rob Pike decided that symlinks should not be supported. https://github.com/golang/go/issues/15507#issuecomment-24158...
comment by hiimnate · 2019-03-20 · in Using Go Modules -
not ready yet for production, most of the cli tools such as errcheck dont work. https://github.com/golang/go/issues/24661 other than that it works like a charm, here's a tutorial i wrote: https://getstream.io/blog/go-1-11-rocket-tutorial/
comment by tschellenbach · 2019-03-20 · in Using Go Modules -
Had some fun with "it's not quite (g)libc" recently related to: https://github.com/golang/go/issues/22846 Static binaries are fun, but bringing a libc replacement... Can be surprising. My trouble was with split-horizon networking, and…
comment by e12e · 2019-03-20 · in How to take back control of /etc/resolv.conf on Linux (2018) -
…that sets GO111MODULE=on, which I use when I want to use modules inside $GOPATH. More info here: https://github.com/golang/go/wiki/Modules
comment by fhs · 2019-03-20 · in Using Go Modules -
For a single module, there is a "replace" directive that you can use to point to a local fork: https://github.com/golang/go/wiki/Modules#when-should-i-use-... But if you have an internal version that's used in lots of modules, it's…
comment by skybrian · 2019-03-20 · in Using Go Modules -
…the major tools on board. [0] https://github.com/Microsoft/vscode-go/wiki/Go-modules-suppo... [1] https://github.com/golang/go/issues/24661
comment by kyrra · 2019-03-20 · in Using Go Modules -
…languages that also have the same bug. golang had the same bug which was fixed in this commit: https://github.com/golang/go/commit/829c5df58694b3345cb5ea41...
comment by cbsks · 2019-03-18 · in Python urllib CRLF injection vulnerability -
…There is an open issue[2] about updating that page. [1] https://golang.org/doc/install/source [2] https://github.com/golang/go/issues/28142
comment by ainar-g · 2019-03-14 · in A Pi-Powered Plan 9 Cluster -
…shell script to simulate git [2] (which isn't available on Plan 9) using http calls to github! [1] https://github.com/golang/go/wiki/Plan9 [2] https://blog.gopheracademy.com/advent-2014/wrapping-git/
comment by kristianp · 2019-03-14 · in A Pi-Powered Plan 9 Cluster -
…gist.github.com/networkimprov/961c9caa2631ad3b95413f... See also the Go 2 Draft Design feedback wiki: https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback
comment by networkimprov · 2019-03-14 · in The ups and downs of porting 50k lines of C++ to Go (2015) -
…building blocks and they're really quite bad. I mean when you're using `append` to delete... 1: https://github.com/golang/go/wiki/SliceTricks
comment by millstone · 2019-03-14 · in The ups and downs of porting 50k lines of C++ to Go (2015) -
…issue is that GO modules are still not ready for production since the ecosystem didn't catch up: https://github.com/golang/go/issues/24661
comment by tschellenbach · 2019-03-14 · in The ups and downs of porting 50k lines of C++ to Go (2015) -
▲ 1
Resources for Learning Concurrency in Gostory by ra7 · 2019-03-12 · 0 comments
-
…look towards the first few releases for the bugs they mention. For instance, here's a 1.1 fix: https://github.com/golang/go/commit/d72c550f1c7e13c323f4507b... One of the advantages of not mutating the language too much is that there aren't…
comment by jerf · 2019-02-28 · in Gomacro: Interactive Go interpreter and debugger with generics and macros -
…be used to implement G." The whole Issue is worth a read. Here's direct link to the above comment: https://github.com/golang/go/issues/15292#issuecomment-21008...
comment by hu3 · 2019-02-28 · in Gomacro: Interactive Go interpreter and debugger with generics and macros -
…be a first step to introduce register based calling convention and deliver a 5% performance boost. https://github.com/golang/go/issues/18597
comment by grumpydba · 2019-02-26 · in Go 1.12 Released -
https://github.com/golang/go/issues/25355
comment by sodpoisadfio · 2019-02-26 · in Go 1.12 Released -
Satire, I presume! Cue polite laughter They've been preoccupied with "Error Values" https://github.com/golang/go/issues/29934
comment by networkimprov · 2019-02-26 · in Go 1.12 Released -
…be interested in this, although support is extremely limited and restricted to specific areas: https://github.com/golang/go/wiki/Mobile#building-and-deploy...
comment by angott · 2019-02-26 · in Go 1.12 Released -
…or similar? Or is it either too hard to maintain or is there just too much fear about misuse? 0 - https://github.com/golang/go/issues/25807
comment by kodablah · 2019-02-26 · in Go 1.12 Released