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
-
…some stuff for hazy reasons. this github issue has a lot of interesting discussion of go ffi: https://github.com/golang/go/issues/16051 these benchmarks https://github.com/dyu/ffi-overhead seem to show that a c call via cgo will be about…
comment by dilap · 2018-07-18 · in Getting to Go: Garbage collection and runtime issues -
…situations, like indirect calls [1], cause objects to be spilled to the heap unconditionally. [1]: https://github.com/golang/go/blob/964639cc338db650ccadeafb74...
comment by pcwalton · 2018-07-17 · in Getting to Go: Garbage collection and runtime issues -
…this is true! My understanding is, the string itself is on the stack, but the data is on the heap https://github.com/golang/go/blob/2f2e8f9c81d899d8eefb1f2f98... Likewise, the "double pointer" of an interface is on the stack, but points to…
comment by steveklabnik · 2018-07-17 · in Getting to Go: Garbage collection and runtime issues -
…a gargantuan cpp file. I know LLVM has it somewhat pluggable. We can see a lot of Go GC's work at https://github.com/golang/go/blob/master/src/runtime/mgc.go but at quick glance, I couldn't see how I could plug in an alternative impl.…
comment by kodablah · 2018-07-17 · in Getting to Go: Garbage collection and runtime issues -
…at all. [0]: https://golang.org/doc/faq#get_version [1]: https://research.swtch.com/go2017 [2]: https://github.com/golang/go/issues/17271
comment by benesch · 2018-07-15 · in Taking Go modules for a spin -
…are either smoothed, or officially recognised as "works as intended", with viable workarounds. [1] https://github.com/golang/go/issues?q=is%3Aissue+is%3Aopen+l...
comment by ainar-g · 2018-07-15 · in Taking Go modules for a spin -
…vendoring support with vgo[2], where you use git tags for versions. 1. https://glide.sh/ 2. https://github.com/golang/go/wiki/PackageManagementTools
comment by stephenwithav · 2018-07-14 · in Ask HN: What is the current state of web frameworks in Golang? -
…for using go webassembly for this use case. I filed an issue for performance hit. It seems high https://github.com/golang/go/issues/26277
comment by keepingscore · 2018-07-09 · in Example node http server powered by a golang webassembly module -
…proposal: https://github.com/golang/proposal/blob/master/design/24301-... Github tracking issue: https://github.com/golang/go/issues/24301 Official wasm design doc: https://docs.google.com/document/u/1/d/131vjr4DH6JFnb-blm_uR...
comment by ssutch3 · 2018-06-26 · in Go 1.11 Beta 1 is released -
See https://github.com/golang/go/tree/master/src/cmd/compile and https://github.com/golang/go/blob/master/src/cmd/compile/int...
comment by valyala · 2018-06-23 · in Performance patches in Go 1.11 -
this? https://github.com/golang/go/issues/25936
comment by tapirl · 2018-06-22 · in Performance patches in Go 1.11 -
Efficient access to thread-local data, maybe. https://github.com/golang/go/issues/8884
comment by tgragnato · 2018-06-21 · in Linux: Introduce restartable sequences system call -
He fixed it in Go: https://github.com/golang/go/commit/c90d392ce3d3203e0c32b3f9...
comment by mseepgood · 2018-06-20 · in Common Mistakes for New Golang Devs -
Look at the aeshash in the go runtime: https://github.com/golang/go/blob/master/src/runtime/asm_amd...
comment by injinj · 2018-06-18 · in Fibonacci Hashing: The Optimization That the World Forgot -
…the performance cost of calling through an interface would be negligible, but I'm wrong about that: https://github.com/golang/go/issues/20116 The issues linked at the end there are interesting reads, and maybe they'll do something about…
comment by ereyes01 · 2018-06-12 · in Show HN: Fo: An experimental language which adds generics on top of Go -
There was also another language called Go beforehand: https://github.com/golang/go/issues/9
comment by jwilk · 2018-06-11 · in Open-sourcing Sonar, a new extensible debugging tool -
…base Java calls as Go calls, but that became tedious too. 0 - https://github.com/cretz/goahead 1 - https://github.com/golang/go/issues/18602
comment by kodablah · 2018-06-11 · in Using GraalVM to Run Native Java in AWS Lambda with Golang -
Rob Pike is discussing Go’s math/rand update to PCG for Go2 at https://github.com/golang/go/issues/21835
comment by nnx · 2018-06-11 · in PCG: a family of better random number generators -
…there's a fundamental problem with it, otherwise they wouldn't have created dep and vgo [1] [1] https://github.com/golang/go/issues/24301
comment by allover · 2018-06-06 · in Things I Regret About Node.js [video] -
Looking at the thumbs up and the comments, the community seems very favorable at vgo. https://github.com/golang/go/issues/24301 edit: and everybody was not agree at the time of Dep launch as it was not simple as Go use to be.
comment by kaeshiwaza · 2018-05-30 · in The vgo proposal is accepted. Now what? -
The concerns haven't been addressed. Sam's latest comment for context: - https://github.com/golang/go/issues/24301#issuecomment-39254...
comment by TheSwordsman · 2018-05-30 · in The vgo proposal is accepted. Now what? -
…to time[1] because Go doesn't want to link to libc but still wants to benefit from vdso[2]. [0] https://github.com/golang/go/issues/16606 [1] https://marcan.st/2017/12/debugging-an-evil-go-runtime-bug/ [2]…
comment by masklinn · 2018-05-27 · in Comparing the C FFI overhead in various programming languages -
…those issue will be fixed someday, I will gladly continue to use it even with those issues. [1]: https://github.com/golang/go/wiki/InterfaceSlice
comment by JepZ · 2018-05-26 · in Go Is a Shop-built Jig (2014) -
…mean too much to me. In general, I'm just finding these posts have little value to me anymore. 0 - https://github.com/golang/go/issues/20982
comment by kodablah · 2018-05-26 · in Go Is a Shop-built Jig (2014) -
…a hundred pages of dense technical details Which document are you referring to? The one linked in https://github.com/golang/go/issues/24301 is only about 600 lines: https://github.com/golang/proposal/blob/master/design/24301-...
comment by nemo1618 · 2018-05-21 · in Go vgo: Semantic Versioning and Human Error -
…was on the homepage or hacker news, vgo was marked as accepted. It's the timing I find amusing. https://github.com/golang/go/issues/24301#issuecomment-39076...
comment by mfer · 2018-05-21 · in Go vgo: Semantic Versioning and Human Error -
…they were working on wasm for Go, but it looks like there was some progress during the last months: https://github.com/golang/go/issues/18892
comment by JepZ · 2018-05-16 · in Show HN: A complete Bash parser in JavaScript transpiled from Go -
…Russ Cox, https://research.swtch.com/vgo-intro "FAQ: Why is the proposal not “use Dep”?", Russ Cox, https://github.com/golang/go/issues/24301#issuecomment-37122...
comment by ngrilly · 2018-05-15 · in An Analysis of vgo -
…dependencies. More info for those who are looking for more context: https://research.swtch.com/vgo https://github.com/golang/go/issues/24301 Whether you agree or disagree, its novel research in this field and excellent technical writing…
comment by pa7ch · 2018-05-15 · in An Analysis of vgo -
…* GOPATH is going to go away soon. Once vgo gets fully baked in to the language. Probably by 1.12 - https://github.com/golang/go/issues/4719 . * There is a one-line installer called "getgo" which installs Go. However, it needs further…
comment by agnivade · 2018-05-14 · in How to start a Go project in 2018 -
…you'd like to try it out (or contribute!), I recommend the following links: The official Go issue: https://github.com/golang/go/issues/24301 And Russ Cox's Tour of vgo: https://research.swtch.com/vgo-tour Which is part of Russ Cox's vgo…
comment by aodin · 2018-05-14 · in How to start a Go project in 2018 -
…for numerical computing. There was such a push with implementing [multidimensional arrays in Go]( https://github.com/golang/go/issues/6282 ) but it looks like it's been shot down more than once. When using Python and R interactively, the…
comment by dm319 · 2018-04-20 · in Interactive Go programming with Jupyter -
…Go had the same "issue." [0] The ticket was eventually closed with status "unfortunate" [0] https://github.com/golang/go/issues/9
comment by adrianmalacoda · 2018-04-19 · in Grasshopper – A coding app for beginners -
…from github … And `vgo`, while promising, is still a protype not ready for production[0]. [0]: https://github.com/golang/go/wiki/vgo#current-state
comment by littlestymaar · 2018-04-14 · in Go gets preliminary WebAssembly support -
Currently it's not supported, see https://github.com/golang/go/blob/a9ba3e30acf004a57fbc1288d5...
comment by caspervonb · 2018-04-14 · in Go gets preliminary WebAssembly support -
https://github.com/golang/go/issues/12061 "Mark termination does not have to rescan stacks that haven’t executed since the last scan" With pre-emptive scheduling of OS threads, you potentially dirty a ton more stacks, and have to scan them…
comment by jashmatthews · 2018-03-29 · in Proposal: Non-cooperative goroutine preemption -
That will work for direct dependencies but not dependencies of dependencies. See https://github.com/golang/go/issues/24500
comment by mfer · 2018-03-26 · in A Proposal for Package Versioning in Go -
…not updated for you'll need to start tracking those yourself. There's an issue touching on this at https://github.com/golang/go/issues/24500 Other packages managers use the opposite of minimal version selection. Many of them even have a…
comment by mfer · 2018-03-26 · in A Proposal for Package Versioning in Go -
…we can go back to being productive instead of fighting dependency management problems all day. [1] https://github.com/golang/go/wiki/PackageManagementTools
comment by lobster_johnson · 2018-03-26 · in A Proposal for Package Versioning in Go -
…understanding. n = copy(p, b.buf[b.r:b.w]) Oh better go to the top and see what those are again... https://github.com/golang/go/blob/master/src/bufio/bufio.go#...
comment by nahname · 2018-03-11 · in Profiling Go Applications with Flamegraphs -
…time I look at Go code, it’s like I’m back in high school using Borland Turbo C all over again. [1] https://github.com/golang/go/wiki/CodeReviewComments#variabl...
comment by adamkl · 2018-03-11 · in Profiling Go Applications with Flamegraphs -
…[3] https://github.com/jmoiron/sqlx [4] https://github.com/jinzhu/gorm [5] https://github.com/golang/go/wiki/SQLDrivers
comment by programd · 2018-03-08 · in Ask HN: Considering using Golang for my main language for web development -
It's in ast.go ( https://github.com/golang/go/blob/master/src/go/ast/ast.go ). Look how Node, Expr etc. are interfaces, with concrete struct implementations. The interfaces don't do much, only provide position information.
comment by lobster_johnson · 2018-03-05 · in Go best practices, six years in (2016) -
While looking for something on "the other go programming language" I ran across this book list: https://github.com/golang/go/wiki/Books Maybe the creator of this repo didn't want it to be yet another book list.
comment by HankB99 · 2018-03-04 · in Gopher Reading List: A curated selection of blog posts on Go -
…3. I wish it had mentioned the functional options pattern in the part about constructors[1] 0: https://github.com/golang/go/blob/b77aad089176ecab971d3a72f0... 1: https://dave.cheney.net/2014/10/17/functional-options-for-fr...
comment by bbatha · 2018-03-02 · in Go best practices, six years in (2016) -
Done. https://github.com/golang/go/issues/24042 Not sure if i did it right, since the default template seems to be for a bug and not a new feature request.
comment by sseth · 2018-02-22 · in Go and Versioning: Minimal Version Selection -
…so I gave up. I should revisit that project one day, heh. 0 - https://github.com/cretz/goahead 1 - https://github.com/golang/go/issues/18602
comment by kodablah · 2018-02-22 · in Electron 2.0.0 beta -
…go test does track files read during tests and records a hash of their contents. Bug: https://github.com/golang/go/issues/22593 Commit: https://go-review.googlesource.com/c/go/+/81895
comment by uluyol · 2018-02-17 · in Go 1.10 Release Notes -
It was requested by rsc in 2015: https://github.com/golang/go/issues/11193 It was implemented by rsc subsequently, after discussion on the issue: https://go-review.googlesource.com/c/go/+/75631 I'm not sure what you're trying to insinuate.
comment by rhencke · 2018-02-17 · in Go 1.10 Release Notes