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. …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
  2. …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
  3. …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
  4. I heard Go got a preemptive scheduler recently. EDIT: https://github.com/golang/go/issues/24543
  5. 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...
  6. …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
  7. 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
  8. 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)
  9. …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...
  10. …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.
  11. …[3] https://wiki.musl-libc.org/functional-differences-from-glibc... [4] https://github.com/golang/go/issues/9627
  12. …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…
  13. …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
  14. …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
  15. …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
  16. …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
  17. …- 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
  18. …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
  19. …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
  20. 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
  21. …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
  22. …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
  23. 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
  24. (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
  25. …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
  26. …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
  27. …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
  28. …[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)
  29. …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?
  30. 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?
  31. 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?
  32. 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
  33. …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…
  34. Here’s the issue it comes out of: https://github.com/golang/go/issues/26610
  35. This can be viewed with JS disabled: https://github.com/golang/go/commit/7aa9855704a766a1a16fbed7...
  36. 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,…
  37. 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…
  38. 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
  39. 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
  40. …API. Go only supports constant time arithmetic for a few specific curves (also not secp256k1). 0. https://github.com/golang/go/issues/20654
  41. …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
  42. 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
  43. …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
  44. People really seem to dislike context in the standard library too: https://github.com/golang/go/issues/20280
  45. …apps sometimes think that they know better, and get broken. Anything written in Go, for example: https://github.com/golang/go/issues/16272
  46. …Versioned, packaged, signed dependencies and thus repeatable build artifacts is the point. [1] https://github.com/golang/go/issues/24301
  47. 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
  48. …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
  49. …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
  50. …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.