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
-
…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] -
▲ 1
GO: allow packages to implement interfaces using .(package) syntaxstory by jakoblorz · 2018-10-31 · 0 comments
-
…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 -
▲ 4
Proposal: Go 2 enum typestory by srfrog · 2018-10-28 · 1 comment
-
…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 -
▲ 1
'hello, world' from Brian Kernighan in B (1972)story by mcemilg · 2018-10-24 · 0 comments
-
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 -
…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 -
▲ 137
Programs compiled by Go 1.11 allocate an unreasonable amount of virtual memorystory by networkimprov · 2018-10-10 · 76 comments
-
…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) -
▲ 2
Proposal: Bake cancellation into Go 2 and Context should go awaystory by nnx · 2018-10-03 · 0 comments
-
▲ 19
Go 1/2 Proposal: Immutable Typesstory by romshark · 2018-10-02 · 26 comments
-
…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 -
▲ 1
Ask HN: Catalog of common code review comments?story by alecbenzer · 2018-09-13 · 0 comments
-
…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 -
▲ 4
Proposal: Go 2: The #id/catch error model, a revision of check/handlestory by networkimprov · 2018-09-05 · 0 comments
-
…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 -
▲ 2
Companies using Gostory by golangnews · 2018-09-04 · 0 comments
-
…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 -
▲ 3
Golang 1.11 releasedstory by mapl · 2018-08-24 · 1 comment
-
…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?