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. …an actual solution , though, just a halfway decent workaround. It especially doesn't work without https://github.com/golang/go/issues/18130 and a couple of other needed changes. Luckily, go has immensely powerful tools to perform these…
    comment by Merovius · 2017-01-12 · in Backwards compatibility in Go (2015)
  2. …Currently, my personal hope is that this can be solved by supporting gradual code repair (see, e.g. https://github.com/golang/go/issues/18130 for what this means and how this is currently progressing) and then add good tooling (I'm working…
    comment by Merovius · 2017-01-12 · in Backwards compatibility in Go (2015)
  3. Just had a look at your issue: https://github.com/golang/go/issues/18569 I think your comment above isn't quite right. The problem you're seeing is that previously this was escaped as js (incorrect), and now it is escaped as text…
    comment by grey-area · 2017-01-11 · in Go 1.8 Release Candidate 1 is released
  4. Vendoring only works inside a GOPATH; if you're outside the GOPATH, the vendor/ folder is ignored. https://github.com/golang/go/issues/14566 There are many problems with running outside GOPATH. Among others, there's no caching of built…
    comment by shadowmint · 2017-01-11 · in Go 1.8 Release Candidate 1 is released
  5. There's more detail over on the issue concerned: https://github.com/golang/go/issues/17082
    comment by grey-area · 2017-01-10 · in Go 1.8 Release Candidate 1 is released
  6. You're right. I think it is included: https://github.com/golang/go/commit/b902a63ade47cf69218c9b38... (see the end of the commit message)
  7. …isn't enough when a programmer needs to remembers 10+ tricks to make up for the lack of generics : https://github.com/golang/go/wiki/SliceTricks
    comment by camus2 · 2017-01-09 · in Go and Dogma
  8. An alternative view: https://github.com/golang/go/commit/b902a63ade47cf69218c9b38...
    comment by rargulati · 2017-01-07 · in Fix for Golang runtime memory corruption bug
  9. …for this reason, with the best method being "start a subprocess and pass it file descriptors" ( https://github.com/golang/go/issues/1435 ). I'd be interested to hear if others have found ways to actually do this reliably for all OS threads…
    comment by kcudrevelc · 2017-01-04 · in Getting Past C
  10. …expose a monotonic clocksource in its stdlib[1]. I'd bet that's what this boils down to. [1] https://github.com/golang/go/issues/12914
  11. …pain that cost upfront where possible with the compiler telling me when something is wrong. [0] https://github.com/golang/go/wiki/SliceTricks [1] http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in...
    comment by gmjosack · 2016-12-29 · in Rust is mostly safety
  12. Go: https://github.com/golang/go/wiki/GoUsers Rust: https://www.rust-lang.org/en-US/friends.html Without counting Go usage roughly looks 10 times more than Rust.
    comment by geodel · 2016-12-29 · in Rust is mostly safety
  13. …at plan9, which doesn't make more sense … Fun fact: Go's first commit is 44 years old [1] ;) [1] https://github.com/golang/go/commit/7d7c6a97f815e9279d08cfae...
    comment by stymaar · 2016-12-29 · in Rust is mostly safety
  14. …package recently got a nice optimization that makes bytes.Contains as fast as strings.Contains: https://github.com/golang/go/commit/44f1854c9dc82d8dba415ef1... --- Since reading into a Go `string` doesn't actually do any UTF-8 validation,…
    comment by burntsushi · 2016-12-28 · in Rust vs C Pitfalls
  15. …from Go stdlib? This was added in Go 1.8 (in beta now), so that link is a bit out of date I think. https://github.com/golang/go/issues/4674 Agree that serving http/https with Go is really pretty straightforward - you can do it without all…
    comment by grey-area · 2016-12-19 · in So you want to expose Go on the Internet
  16. …the remote address was not actually handling TLS connections. The magic number is simply because https://github.com/golang/go/issues/11111 . Even better, when you google that error, you get all docker-related issues. Poor docker.
    comment by lziest · 2016-12-09 · in 1213486160 has a friend: 1195725856
  17. …Historically gophers haven't minded the occasional namespace collision: https://github.com/golang/go/issues/9
  18. …can still tweak the AST. In the case of Go it would be easier to do the injection during parsing. https://github.com/golang/go/blob/5c9035acc1e1540a564ea66000... would be a good entry point. https://golang.org/pkg/go/ast/ should help. (I…
    comment by Manishearth · 2016-12-02 · in Reflections on Rusting Trust
  19. …but doesn't seem to provide any way to automatically refactor code based on the alias, does it? https://github.com/golang/go/issues/16339 Basically what I'm thinking is something like an alias feature where when A has been renamed to B,…
    comment by jcrites · 2016-12-02 · in Codebase Refactoring with Go
  20. …(or other libraries except for windows, and maybe others), which is interesting on e.g., Darwin: https://github.com/golang/go/issues/17490
  21. …optimize ValidRune (CL 32122) unicode/utf8: reduce bounds checks in EncodeRune (CL 28492) [0] https://github.com/golang/go/blob/master/doc/go1.8.txt
    comment by 0xmohit · 2016-11-19 · in Go 1.8 toolchain improvements
  22. …you can call Go in mobile apps [0]. I'm wondering if that's also applicable for desktop apps [0]: https://github.com/golang/go/wiki/Mobile
    comment by dvcrn · 2016-11-16 · in Show HN: Primitive for macOS
  23. …Now Go back to your Go code and remember all tricks you need to learn when working with arrays : https://github.com/golang/go/wiki/SliceTricks Just because : > A weakness of Go is that any generic-type operations must be provided by the…
    comment by aikah · 2016-11-10 · in Seven years of Go
  24. Some community driven initiatives for learning Go: https://github.com/golang/go/wiki/Learn The main wiki lists more resources: https://github.com/golang/go/wiki#learning-more-about-go
    comment by 0xmohit · 2016-11-10 · in Seven years of Go
  25. I haven't tried it thus far, but you can see a list at the Projects wiki [0]. [0] https://github.com/golang/go/wiki/Projects#guis-and-widget-t...
    comment by 0xmohit · 2016-11-10 · in Seven years of Go
  26. I inferred it from the comments here: https://github.com/golang/go/issues/16339#issuecomment-25852... But of course it can still change.
  27. Alias declarations were reverted from 1.8 recently[0] [0] https://github.com/golang/go/commit/87f4e36ce7d7dffbf1f2a869...
  28. …has been reverted now[1]. [0] https://www.reddit.com/r/golang/comments/5alxa3/gos_alias_pr... [1] https://github.com/golang/go/issues/16339#issuecomment-25852...
  29. …gogc[0]. No risk of quasi-leaks in the allocator due to fragmentation. Reduced cache misses[1] [0] https://github.com/golang/go/issues/14161 [1] http://stackoverflow.com/q/31225252/1362755
    comment by the8472 · 2016-10-29 · in Sub-millisecond GC pauses in Go 1.8
  30. I haven't seen it written up, but it's discussed some here: - https://github.com/golang/go/issues/10958
    comment by ci5er · 2016-10-29 · in Sub-millisecond GC pauses in Go 1.8
  31. Not according to this bug. :( https://github.com/golang/go/issues/10958
    comment by pcwalton · 2016-10-29 · in Sub-millisecond GC pauses in Go 1.8
  32. …used in the adaptation of Metronome used in the IBM real-time Java implementation. Some benchmarks: https://github.com/golang/go/commit/bd640c882a8dcb88a0497770...
    comment by bitmapbrother · 2016-10-29 · in Sub-millisecond GC pauses in Go 1.8
  33. …during function call preludes. I guess that happens often enough to be fast in practice. [1]: https://github.com/golang/go/blob/8f81dfe8b47e975b90bb4a2f8d...
    comment by pcwalton · 2016-10-29 · in Sub-millisecond GC pauses in Go 1.8
  34. It definitely does: https://github.com/golang/go/blob/b851ded09a300033849b60ab47... I should look into those benchmarks if you think there might be string problems. To be frank, I've never looked too closely at anything except for…
    comment by burntsushi · 2016-10-22 · in 2017 Rust Roadmap
  35. …were surprised when it changed! :) runtime: hashmap iterator start position not random enough #8688 https://github.com/golang/go/issues/8688
    comment by cpeterso · 2016-10-19 · in Netflix Chaos Monkey Upgraded
  36. …number of contributors for Scala [0], Go [1], and Rust [2]. [0] https://github.com/scala/scala/ [1] https://github.com/golang/go/ [2] https://github.com/rust-lang/rust/
  37. …perform. [0] Russ Cox mentions a ~ 10x performance in a TLS benchmark between 1.5 and 1.6.2 at https://github.com/golang/go/issues/15713
  38. …was to wrap in extern C and use syscall.LoadLibrary() / syscall.GetProcAddress() as described on https://github.com/golang/go/wiki/WindowsDLLs . It was quite straightforward, i don't think there's enough information for a blog post.
    comment by mappu · 2016-10-01 · in Go success stories from around the web
  39. …tooling out there, and there was even some support for merging ACME support directly into net/http https://github.com/golang/go/issues/17053
    comment by zalmoxes · 2016-09-20 · in GoDoc: package letsencrypt
  40. https://github.com/golang/go/wiki/PackageManagementTools
  41. …Check out global usage examples and refs of any function, such as those at https://sourcegraph.com/github.com/golang/go/-/info/GoPackag... . You can get to this page by right-clicking on tokens in the code view above. This helps you…
  42. …above... Clicked on web link and google bring to reddit, and here is the working link from there; https://github.com/golang/go/files/447163/GoFunctionsInAssem...
  43. That's precisely my suggestion https://github.com/golang/go/issues/16791#issuecomment-24209... Moving from runes to bytes in reading gives us a nice speedup - not quite to eliminate the gap, but it's a start. The rest is likely all the…
  44. …Apache Commons CSV and found that Java was 1.9x faster than Go, rather than the original 3x: https://github.com/golang/go/issues/16791#issuecomment-24456...
  45. Not only Symantec. See https://github.com/golang/go/issues/16292
  46. Indeed. https://github.com/golang/go/issues/3606
  47. And here's probably the first tree that contains actual source code: https://github.com/golang/go/tree/cb87526ce3531557ccf69969de...
    comment by M4v3R · 2016-08-27 · in Go's first commit
  48. The first page of commits https://github.com/golang/go/commits/master?page=833
    comment by burrows · 2016-08-27 · in Go's first commit
  49. Much more interesting (first language spec commit): https://github.com/golang/go/commit/18c5b488a3b2e218c0e0cf2a...
    comment by dantaylor08 · 2016-08-27 · in Go's first commit
  50. …to play around with it, you can explore existing open-source projects like the Go standard library: https://github.com/golang/go/blob/master/src/fmt/print.go . For your own repository, it needs permission to set up a webhook to re-process…