Hacker GitHub

← All repos

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

Mentions per year 1,947 mentions · busiest year 2023 (221)
20082026
  1. …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…
  2. …situations, like indirect calls [1], cause objects to be spilled to the heap unconditionally. [1]: https://github.com/golang/go/blob/964639cc338db650ccadeafb74...
  3. …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…
  4. …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.…
  5. …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
  6. …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
  7. …vendoring support with vgo[2], where you use git tags for versions. 1. https://glide.sh/ 2. https://github.com/golang/go/wiki/PackageManagementTools
  8. …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
  9. …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
  10. 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
  11. this? https://github.com/golang/go/issues/25936
    comment by tapirl · 2018-06-22 · in Performance patches in Go 1.11
  12. Efficient access to thread-local data, maybe. https://github.com/golang/go/issues/8884
  13. 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
  14. Look at the aeshash in the go runtime: https://github.com/golang/go/blob/master/src/runtime/asm_amd...
  15. …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…
  16. There was also another language called Go beforehand: https://github.com/golang/go/issues/9
  17. …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
  18. Rob Pike is discussing Go’s math/rand update to PCG for Go2 at https://github.com/golang/go/issues/21835
  19. …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]
  20. 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?
  21. 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?
  22. …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]…
  23. …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)
  24. …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)
  25. …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-...
  26. …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...
  27. …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
  28. …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
  29. …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
  30. …* 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
  31. …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
  32. …recommendations? What's your favorite resource for learning golang that helped you the most? [0]: https://github.com/golang/go/wiki/Learn
    comment by shekhar101 · 2018-04-30 · in Hello Go
  33. …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…
  34. …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
  35. …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
  36. 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
  37. 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
  38. That will work for direct dependencies but not dependencies of dependencies. See https://github.com/golang/go/issues/24500
  39. …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…
  40. …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
  41. …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#...
  42. …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...
  43. …[3] https://github.com/jmoiron/sqlx [4] https://github.com/jinzhu/gorm [5] https://github.com/golang/go/wiki/SQLDrivers
  44. 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)
  45. 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.
  46. …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)
  47. 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.
  48. …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
  49. …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
  50. 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