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
-
The context for this is this Go project proposal: https://github.com/golang/go/issues/30141 Filippo proposes to deprecate (but not remove) Blowfish, archaic curves, CAST, MD4, RIPEMD160, TEA, Twofish, XTS, and OpenPGP from the Golang x/…
comment by tptacek · 2019-02-15 · in Modern Alternatives to PGP -
…level handle/check concept. Check it out https://dev.to/deanveloper/go-2-draft-error-handling-3loo https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback
comment by fierro · 2019-02-15 · in Sample cloud-native application with microservices -
…Yes, it really is. And yes, you still have to maintain code that's been written. See discussion at https://github.com/golang/go/issues/25417 The pure Go code was already faster than the assembly on some CPUs. For the other CPUs where the…
comment by bradfitz · 2019-02-12 · in Go 1.12 Release Candidate 1 is released -
…were only available for a few platforms, so a portable version needs to be kept around anyway. https://github.com/golang/go/commit/30eda6715c6578de2086f03d... is the removal commit, which also points out that the optimization didn’t seem…
comment by secure · 2019-02-12 · in Go 1.12 Release Candidate 1 is released -
Relevant discussion is at https://github.com/golang/go/issues/19814 , showing both the current status quo (iotas), suggestions to wrangle them to / from string and iteration, and arguments for or against them.
comment by Cthulhu_ · 2019-02-12 · in Go 1.12 Release Candidate 1 is released -
…guess your coworkers were seeing some variation of that. If so, that is addressed for Go 1.12: https://github.com/golang/go/issues/26794
comment by puddums · 2019-02-12 · in Go 1.12 Release Candidate 1 is released -
https://github.com/golang/go/blob/47d5a4433513c3870a9994b50e... are the two that they identified. Both of these things are not deal breakers; some semver implementations do allow the prefix "v" (though none require, and some don't allow it…
comment by steveklabnik · 2019-02-11 · in What's next for SemVer -
The language implements semver directly in the Go language source: https://github.com/golang/go/blob/47d5a4433513c3870a9994b50e... This is used to resolve module loading, according to this logic: https://github.com/golang/go/blob/aab0b704d8…
comment by spenczar5 · 2019-02-11 · in What's next for SemVer -
…to use F_FULLFSYNC on MacOS until I reported it. Fix landing in 1.12, but won't be back-ported. https://github.com/golang/go/issues/26650
comment by networkimprov · 2019-02-10 · in PostgreSQL used fsync incorrectly for 20 years -
…article. For people interested in Go concurrency features there’s this great curated list instead: https://github.com/golang/go/wiki/LearnConcurrency
comment by TXV · 2019-01-30 · in On Concurrency in Go HTTP Servers -
That's the gccgo frontend; the more usual Go compiler is here: https://github.com/golang/go/tree/master/src/cmd/compile/int... It's still handwritten though so your point stands.
comment by CamouflagedKiwi · 2019-01-27 · in GNU Bison 3.3 released -
It's certainly an issue, especially now with wasm: https://github.com/golang/go/issues/27266 Probably unavoidable for this kind of app though. Unicode alone involves a whole lot of data tables that are going to be hard to get rid of unless…
comment by cdoxsey · 2019-01-26 · in Websocketd -
The fix, for anyone who is interested: https://github.com/golang/go/commit/42b42f71cf8f5956c09e6623...
comment by jtsylve · 2019-01-23 · in Go 1.11.5 and Go 1.10.8 are released -
…it's convention to use really short (as in, single character when possible) variable names in Go. https://github.com/golang/go/wiki/CodeReviewComments#variabl... Disclaimer: I work at Google, but not on GCF or Go.
comment by jpatokal · 2019-01-16 · in Cloud Functions: Go 1.11 is now a supported language -
…to the dep package manager. Will try again in a couple of months. Here's a ticket about the issue: https://github.com/golang/go/issues/24661
comment by tschellenbach · 2019-01-16 · in Cloud Functions: Go 1.11 is now a supported language -
…to supporting the two most recent major version releases of Go, as per the Go release policy: https://github.com/golang/go/wiki/Go-Release-Cycle#release-m... Disclaimer: I work on GCP and used to work on Go language releases.
comment by chrisbroadfoot · 2019-01-16 · in Cloud Functions: Go 1.11 is now a supported language -
Maybe Google Native Client support? https://github.com/golang/go/wiki/NativeClient
comment by pstuart · 2019-01-16 · in Cloud Functions: Go 1.11 is now a supported language -
Do you mean this, or was there something else along these lines? https://github.com/golang/go/issues/23617
comment by int_19h · 2019-01-05 · in Io_submit and Linux AIO – An epoll alternative -
…like goimports the best practice at the moment is to have a tools.go with a "tools" build tag. See https://github.com/golang/go/issues/25922 For non-go tools like the protoc compiler I don't think the golang tooling provides any help. A…
comment by dub · 2018-12-19 · in Go Modules in 2019 -
Do you know if the Go compiler does this too? Edit: Nevermind, it doesn't: https://github.com/golang/go/issues/5496
comment by dawkins · 2018-12-14 · in Write Your Own Virtual Machine -
Be aware of this regression with 1.11.3: https://github.com/golang/go/issues/29241
comment by TheSwordsman · 2018-12-14 · in [security] Go 1.11.3 and Go 1.10.6 are released -
…goodest" nowadays, and the larger projects I've worked on have typically been about 50/50 [1] [1]: https://github.com/golang/go/wiki/MutexOrChannel Whenever I think something is missing, I find it helpful to remind myself that Go is kind…
comment by shabbyrobe · 2018-12-11 · in Just tell me how to use Go Modules -
…this uses os.File.Sync, it's not safe on MacOS. Also it would benchmark artificially fast on MacOS. https://github.com/golang/go/issues/26650 Many storage libraries are affected, including Bleve.
comment by networkimprov · 2018-11-30 · in ObjectBox: Fast object-oriented database for Go -
…is a big issue to me. All other new languages have an officiel package manager - elixir, rust, ... https://github.com/golang/go/wiki/PackageManagementTools
comment by martinlev · 2018-11-30 · in Go 2, here we come -
…it should really be two separate commands. "go mod add" to add a new dependency, for example.) [1] https://github.com/golang/go/issues/24250#event-1996119923
comment by atombender · 2018-11-30 · in Go 2, here we come -
…compatibility for direct syscalls. This has caused bugs like this with compiled Go binaries: https://github.com/golang/go/issues/16570 Go has very recently started using libSystem (which is analogous to Linux libc or Windows CRT) on macOS…
comment by djur · 2018-11-30 · in Go 2, here we come -
I’m hoping that https://github.com/golang/go/issues/19623 will come through, and we’ll get a native “true integer” type (and hopefully a rational one as well, though maybe this is pushing it a bit). This is really something that should be…
comment by joppy · 2018-11-29 · in Go 2, here we come -
Helpful link from the text: https://github.com/golang/go/issues?q=is%3Aissue+is%3Aopen+l... These are Go2 proposal PRs, sorted by upvotes.
comment by nine_k · 2018-11-29 · in Go 2, here we come -
Go 2 is likely to get a per-call variation of try/catch via named handle blocks, see: https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback and this broad survey of error handling requirements: https://gist.github.com/networkimprov/961…
comment by networkimprov · 2018-11-26 · in Errors in Go: From denial to acceptance -
…than you suggest. It seems like people close to the project spent time trying to clean it up: https://github.com/golang/go/issues/6853
comment by castathrowaway · 2018-11-19 · in Ask HN: What's the largest amount of bad code you have ever seen work? -
…use Go itself, where concurrency, parallelism and good performance are all available today... [0] https://github.com/golang/go/issues/20123
comment by firdak · 2018-11-16 · in Golua – A Lua 5.3 engine implemented in Go -
> Kernel doesn't care how your laid out your userspace stack. Except when it does: https://github.com/golang/go/issues/20427
comment by cesarb · 2018-11-14 · in C library system-call wrappers, or the lack thereof -
As the article eludes to it is not without its challenges, however. As an example see this issue: https://github.com/golang/go/issues/1435 which goes into some of the details why implementing a call for setuid() is not straightforward…
comment by btbuilder · 2018-11-14 · in C library system-call wrappers, or the lack thereof -
…userspace API for anything other than libc. I don't think the latter requirement is satisfied: https://github.com/golang/go/commit/02118ad0a0cacb00c1d834b3...
comment by int_19h · 2018-11-14 · in C library system-call wrappers, or the lack thereof -
…b) the Go2 error handling draft design feedback (the initial concept is unworkable :-) https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback
comment by networkimprov · 2018-11-11 · in Nine years of Go -
…feature in Go 1.11, with the hope of incorporating feedback and finalizing the feature for Go 1.12. https://github.com/golang/go/wiki/Modules They are officially present and will be compatible in some way with future releases, but its…
comment by Zach_the_Lizard · 2018-11-11 · in Nine years of Go -
But there are good ideas on how to do errors better... See Go2 Error Handling feedback: https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback And possible requirements for Go2 errors: https://gist.github.com/networkimprov/961c9caa2631a…
comment by networkimprov · 2018-11-10 · in Nine years of Go -
…the authors seem to have abandoned the projects, and updating the code isn't always so trivial. [1] https://github.com/golang/go/issues/24661
comment by atombender · 2018-11-10 · in Nine years of Go -
…s://github.com/search?l=&o=desc&q=stars%3A>5000+language... - https://github.com/avelino/awesome-go - https://github.com/golang/go/wiki/Projects
comment by shazow · 2018-11-10 · in Nine years of Go -
…non-web use cases might have to wait. 0 - https://github.com/go-interpreter/wagon/issues/69 1 - https://github.com/golang/go/blob/master/misc/wasm/wasm_exec... 2 - https://github.com/cretz/go-wasm-bake 3 -…
comment by kodablah · 2018-11-09 · in Cloud Computing Without Containers -
similar load test is to hit github.com/golang/go
comment by djhworld · 2018-11-04 · in GoCity – Code City metaphor for visualizing Go source code -
…now there are no required external dependencies, so adding one is a very high bar indeed. [0]: https://github.com/golang/go/issues/1435
comment by TheDong · 2018-11-03 · in What's coming in Go 1.12 [slides] -
https://github.com/golang/go/wiki/Modules
comment by Skunkleton · 2018-11-02 · in What's coming in Go 1.12 [slides] -
TLS 1.3 support, strangely omitted from these slides: https://github.com/golang/go/issues/9671
comment by mholt · 2018-11-02 · in What's coming in Go 1.12 [slides] -
runtime: non-cooperative goroutine preemption github.com/golang/go/issues/24543 HUGE deal for large companies Possible for certain code patterns to bully the runtime Redesign the runtime to remove those edge cases wow.
comment by Thaxll · 2018-11-02 · in What's coming in Go 1.12 [slides] -
The rationale is here: https://github.com/golang/go/issues/25443 . > Now that we have the cmd/go "go doc" CLI for getting documentation, does it make sense for x/tools/cmd/godoc to also have CLI support? > I propose we delete…
comment by ainar-g · 2018-11-02 · in What's coming in Go 1.12 [slides] -
…here: https://raw.githubusercontent.com/mvdan/talks/master/2018/go... . Also, it is an issue: https://github.com/golang/go/issues/27026 . Marked as "help wanted".
comment by ainar-g · 2018-11-02 · in What's coming in Go 1.12 [slides] -
…is still nascent but I was able to get up and running very quickly, and the API is dead simple: https://github.com/golang/go/wiki/WebAssembly
comment by enneff · 2018-10-30 · in WebAssembly Threads ready to try in Chrome 70 -
…Go2 is allowed to break backwards compatibility, something might come out of the discussion. [1] https://github.com/golang/go/issues/19814 [2] https://github.com/golang/go/issues/19412 [3] https://www.reddit.com/r/golang/comments/46bd5h/ama…
comment by atombender · 2018-10-27 · in Proposal: Go 2 transition -
Edit: https://github.com/golang/go/wiki/Modules#how-to-use-modules Copy paste error I guess.
comment by TheDong · 2018-10-17 · in App Engine’s New Go 1.11 Runtime