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
-
…on MacOS, which didn't actually fsync() properly. This affects several popular database libraries. https://github.com/golang/go/issues/26650
comment by networkimprov · 2019-02-26 · in Go 1.12 Released -
…escapes e.g. the fmt functions will "escape" their format string and every single parameter: https://github.com/golang/go/issues/8618
comment by masklinn · 2019-02-21 · in A visual guide to the Go memory allocator from scratch -
Go is not fully preemptive, but in practice it usually is (it preempts at function calls): https://github.com/golang/go/issues/10958 .
comment by cdoxsey · 2019-02-20 · in Let’s Talk Concurrency: Panel with Sir Tony Hoare, Joe Armstrong, Carl Hewitt -
…and how it would play along. The issue was closed with "we need a larger discussion" comment. https://github.com/golang/go/issues/29011 If you are interested in that you may want to participate.
comment by rumcajz · 2019-02-17 · in Graceful Shutdown -
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 -
▲ 1
Go2 and complex numbers removalstory by mikolaj1024 · 2019-01-29 · 2 comments
-
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 -
▲ 2
Go 2 Error Values proposal, v2story by networkimprov · 2019-01-25 · 0 comments
-
▲ 2
Golang: CPU DoS vulnerability affecting P-521 and P-384story by anomalroil · 2019-01-24 · 1 comment
-
▲ 1
Establish RFP/RFC process for Go 2 language feature proposalsstory by networkimprov · 2019-01-24 · 0 comments
-
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 -
▲ 3
A read-only value (not read-only type) proposal for Gostory by tapirl · 2019-01-11 · 1 comment
-
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 -
▲ 2
Go modules are not ready yetstory by tbarbugli · 2018-12-08 · 0 comments
-
…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? -
▲ 1
Golang proposal: crypto/tls: make server name extension optionalstory by lvht · 2018-11-18 · 0 comments
-
…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