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
-
…that check/handle wasn't that well received. These requirements might illuminate a viable path. https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback
comment by networkimprov · 2018-10-14 · in Go 2.0 Error Handling Requirements -
…language. Go 1.11 took my biggest complaint and turned it into one of my biggest compliments." https://github.com/golang/go/wiki/Modules
comment by really_operator · 2018-10-09 · in Go 1.11 got me to stop ignoring Go -
…Go 1.11 you can have "modules" that you can put all over the place. Much more freedom, right? :) https://github.com/golang/go/wiki/Modules
comment by ofrzeta · 2018-10-09 · in Go 1.11 got me to stop ignoring Go -
I heard Go got a preemptive scheduler recently. EDIT: https://github.com/golang/go/issues/24543
comment by twtw · 2018-10-09 · in Why you can have millions of goroutines but only thousands of Java threads -
Goroutine stacks are in fact allocated on the heap. All the details are in here: https://github.com/golang/go/blob/master/src/runtime/stack.g...
comment by emfree · 2018-10-09 · in Why you can have millions of goroutines but only thousands of Java threads -
…function from C [0]. I don't know how well that would work though, since Go requires a runtime. [0] https://github.com/golang/go/wiki/cgo#calling-go-functions-f...
comment by TheAceOfHearts · 2018-10-08 · in Libp2p – A modular network stack -
there is such a list for Go here https://github.com/golang/go/wiki/FromXToGo The best article of this kind that i have seen is by far http://roscidus.com/blog/blog/2014/06/06/python-to-ocaml-ret...
comment by CodeArtisan · 2018-10-07 · in A Year in Clojure -
I thought this was a solved issue? https://github.com/golang/go/issues/20676
comment by dullgiulio · 2018-10-06 · in A future for fork(2) -
…compiled as pure go) or if the net.Resolver has the PreferGo flag set (which is false by default). https://github.com/golang/go/blob/541f9c0345d4ec52d9f4be5913...
comment by dward · 2018-09-26 · in HTTPS-Portal: Automated HTTPS server powered by Nginx, Let’s Encrypt and Docker -
…will have something to focus on. :) For the Go, this is the (recent) matching issue: https://github.com/golang/go/issues/27766 Kind of guessing it'll turn into a tracking issue to get it done.
comment by justinclift · 2018-09-25 · in Wasmjit: Kernel Mode WebAssembly Runtime for Linux -
…[3] https://wiki.musl-libc.org/functional-differences-from-glibc... [4] https://github.com/golang/go/issues/9627
comment by valarauca1 · 2018-09-24 · in On Go, Portability, and System Interfaces (2015) -
…turns out, the only mention of the feature is in that link's introduction. The garbage collector ( https://github.com/golang/go/blob/master/src/runtime/mgc.go ) makes many references to 4KB pages and 1MB arenas. This (the code and the user…
comment by striking · 2018-09-22 · in Go team adding a Go language server to core -
…like nil, iota, etc. should be keywords. Eventually we agreed on the rule above which settled it. https://github.com/golang/go/issues/18193#issuecomment-26492...
comment by cdoxsey · 2018-09-08 · in Go says Wat -
…stuff in code is so important (and sometimes so hard). Golang has a good philosophy on this front: https://github.com/golang/go/wiki/CodeReviewComments#variabl... tl-dr: the further from its declaration that a name is used, the more…
comment by mattlondon · 2018-09-05 · in How true hackers write JavaScript -
…list is writing an experience report with better examples. It's priority just got up-voted ;-) [1]: https://github.com/golang/go/wiki/InterfaceSlice
comment by JepZ · 2018-08-28 · in Go 2 Draft Designs -
…so it requires a runtime change. I’m not sure how using libc would have prevented this Ref: https://github.com/golang/go/issues/26142
comment by giovannibajo1 · 2018-08-25 · in Go 1.11 and Beyond -
…- and start using the appropriate APIs, such as libc. Or is it going to be stuff like this or https://github.com/golang/go/issues/16606 forever? Right now, I stay away from Go partly because of this - it feels like a bad idea to use a…
comment by int_19h · 2018-08-25 · in Go 1.11 released -
…stackoverflow.com/questions/38517593/relative-import... "No there is no relative import in Golang." - https://github.com/golang/go/issues/20883 "Support relative imports in Go 2.0" > So you can go into your GOPATH (or vendor dir) and…
comment by always_good · 2018-08-25 · in Go 1.11 released -
…mutated maybe or just copied from the data section since there're no public immutable vars). 0 - https://github.com/golang/go/issues/26622
comment by kodablah · 2018-08-25 · in Go 1.11 released -
init-time load has become a pet project of mine lately: https://github.com/golang/go/issues/26775 A new person on the compiler might be working on that too as a warm-up task.
comment by bradfitz · 2018-08-25 · in Go 1.11 released -
…about modules can be found at: - https://golang.org/cmd/go/#hdr-Preliminary_module_support - https://github.com/golang/go/wiki/Modules - https://research.swtch.com/vgo The wiki - https://golang.org/wiki/WebAssembly - provides information…
comment by 0xmohit · 2018-08-24 · in Go 1.11 released -
…bit of searching online shows some discussion in 2009, but no mention of any desire for a change: • https://github.com/golang/go/issues/448#issuecomment-6604976... • https://github.com/golang/go/issues/448#issuecomment-6604977... Does…
comment by justinclift · 2018-08-23 · in Mod and remainder are not the same -
Here's the code that determines if it needs to fall back to cgo: https://github.com/golang/go/blob/161874da2ab6d5372043a1f393... Notably, it can only handle the following sources: files, dns, myhostname, mdns* (but only a subset of those…
comment by TheDong · 2018-08-21 · in Go Memory Management -
(note for anyone coming by in the future: that link is not the best one, https://github.com/golang/go/blob/fe8a0d12b14108cbe2408b417a... is where most of the cgo code for linux is)
comment by TheDong · 2018-08-20 · in Go Memory Management -
…That is exactly what go uses in programs that use networking. Here's the 'import "C"' in question: https://github.com/golang/go/blob/fe8a0d12b14108cbe2408b417a...
comment by TheDong · 2018-08-20 · in Go Memory Management -
…the problem they have been looking to solve for a couple years now, but for what its worth the https://github.com/golang/go/wiki has information on dep tooling. My experience is that most people don't read it. Any tutorial worth its salt…
comment by yahyaheee · 2018-08-19 · in Introduction to Go Modules -
…created an issue on some of the WASM bloat [0], but it's not really going to be addressed now. 0 - https://github.com/golang/go/issues/26622
comment by kodablah · 2018-08-18 · in Show HN: TinyGo – LLVM-based Go compiler for microcontrollers -
…[2] https://github.com/Droogans/unmaintainable-code#single-lette... [3] https://github.com/golang/go/wiki/CodeReviewComments#variabl... [4] https://github.com/Droogans/unmaintainable-code#underscore-a... [5] https://golang.org/doc
comment by maerF0x0 · 2018-08-17 · in How to Write Unmaintainable Code (2017) -
…It looks like this was only done in “runtime” but hopefully the rest can come in 1.12. [1] [1] https://github.com/golang/go/issues/17490
comment by gok · 2018-08-16 · in What else is in Go 1.11? -
It’s so tests don’t rely on behavior that may change. See this commit message for a full explanation: https://github.com/golang/go/commit/6269dcdc24d74379d8a609ce...
comment by ancarda · 2018-08-16 · in What else is in Go 1.11? -
It is not covered here: - WebAssembly and Modules have already been covered. https://github.com/golang/go/wiki/Modules
comment by stplsd · 2018-08-16 · in What else is in Go 1.11? -
To get a test of what's actually in the release candidate check out https://github.com/golang/go/milestone/62 A lot of new stuff with the new go modules work including vgo and some interesting wasm work.
comment by kjeetgill · 2018-08-14 · in Go 1.11 Rc1 released -
…I opened the original issue in question due to lack of feature parity and it got quickly closed ( https://github.com/golang/go/issues/26610#event-1753880630 ). Then after some twitter back-and-forth ( https://twitter.com/sgnn7/status/102254…
comment by sgnnseven · 2018-08-12 · in 'Go mod download' (to cache) and 'go mod why' added -
Here’s the issue it comes out of: https://github.com/golang/go/issues/26610
comment by llimllib · 2018-08-11 · in 'Go mod download' (to cache) and 'go mod why' added -
This can be viewed with JS disabled: https://github.com/golang/go/commit/7aa9855704a766a1a16fbed7...
comment by jwilk · 2018-08-11 · in 'Go mod download' (to cache) and 'go mod why' added -
go mod started out with a bunch of flags, and was only later converted to the current syntax: https://github.com/golang/go/commit/6121987a10b2c54bc4c48473... From the commit message: > We've avoided subcommands in the go command to date,…
comment by secure · 2018-08-11 · in 'Go mod download' (to cache) and 'go mod why' added -
If you mean ChaCha20-Poly1305, looks like performance improvements may land in Go 1.12: https://github.com/golang/go/issues/22809 ChaCha can be accelerated with generic SIMD instructions on any arch that supports them. Personally I think…
comment by nemo1618 · 2018-08-09 · in Go 1.11beta3 is in average 11x faster for crypto/tls benchmarks on ARM64 -
I believe Go initially had a conservative collector for the stack and switched to precise: https://github.com/golang/go/issues/5134
comment by munificent · 2018-08-06 · in Implementing a JIT-compiler with Rust -
there are blogposts here detailing some use cases and experiences: https://github.com/golang/go/wiki/GoUsers#united-states
comment by dcu · 2018-08-04 · in Go 1.11 Beta 3 is released -
…API. Go only supports constant time arithmetic for a few specific curves (also not secp256k1). 0. https://github.com/golang/go/issues/20654
comment by tuxxy · 2018-08-01 · in Show HN: GoUmbral – ECC arithmetic layer, and soon-to-be proxy re-encryption lib -
…solicits feedback, and designs are often adjusted in light of that feedback. Consider type aliases: https://github.com/golang/go/issues/18130 Its also an example of the proposal process which is PEP like. That said, changes like this are…
comment by cdoxsey · 2018-07-28 · in A response about dep and vgo -
There has been some discussion about a pluggable TLS stack: https://github.com/golang/go/issues/21753
comment by helper · 2018-07-27 · in A response about dep and vgo -
…Maybe so. My mistake. It personally made me think of this issue / PR in the Go issue tracker, https://github.com/golang/go/issues/20654 , about support for constant time arithmetic with bigints. Currently, operations on bigints in Go may…
comment by Confiks · 2018-07-27 · in A response about dep and vgo -
People really seem to dislike context in the standard library too: https://github.com/golang/go/issues/20280
comment by gant · 2018-07-25 · in Portable Cloud Programming with Go Cloud -
…apps sometimes think that they know better, and get broken. Anything written in Go, for example: https://github.com/golang/go/issues/16272
comment by int_19h · 2018-07-25 · in Why Google Stores Billions of Lines of Code in a Single Repository (2016) -
…Versioned, packaged, signed dependencies and thus repeatable build artifacts is the point. [1] https://github.com/golang/go/issues/24301
comment by topspin · 2018-07-25 · in Why Google Stores Billions of Lines of Code in a Single Repository (2016) -
Google too hard these days? https://github.com/golang/go/issues/15292
comment by kxukfoldld · 2018-07-20 · in Go 1.11 Beta 2 is Released -
…about 3k LOC of platform specific, low level (syscall) and error-prone code with 10 lines. [1]: https://github.com/golang/go/issues/9661
comment by Kubuxu · 2018-07-20 · in Go 1.11 Beta 2 is Released -
…now? I find it weird that 3 years later working with xml namespaces is still troublesome - https://github.com/golang/go/issues/13400#issuecomment-16245...
comment by glenndebacker · 2018-07-20 · in Go 1.11 Beta 2 is Released -
…It just uses another stack, dedicated to cgo, and disallows passing pointers into the stack: https://github.com/golang/go/issues/11089 So I think the slowness is caused by something else. Thanks for sharing the benchmark.
comment by ngrilly · 2018-07-19 · in Getting to Go: Garbage collection and runtime issues