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
-
…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) -
…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) -
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 -
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 -
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 -
You're right. I think it is included: https://github.com/golang/go/commit/b902a63ade47cf69218c9b38... (see the end of the commit message)
comment by alpb · 2017-01-10 · in Go 1.8 Release Candidate 1 is released -
…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 -
An alternative view: https://github.com/golang/go/commit/b902a63ade47cf69218c9b38...
comment by rargulati · 2017-01-07 · in Fix for Golang runtime memory corruption bug -
…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 -
…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
comment by alexforster · 2017-01-01 · in Some DNS lookups causing 5xx errors due to leap second bug -
…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 -
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 -
…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 -
…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 -
…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 -
…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 -
…Historically gophers haven't minded the occasional namespace collision: https://github.com/golang/go/issues/9
comment by shanemhansen · 2016-12-05 · in Mux – A lightweight, fast HTTP request router for Go -
…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 -
…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 -
…(or other libraries except for windows, and maybe others), which is interesting on e.g., Darwin: https://github.com/golang/go/issues/17490
comment by sebcat · 2016-11-29 · in Writing C software without the standard library -
…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 -
…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 -
…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 -
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 -
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 -
I inferred it from the comments here: https://github.com/golang/go/issues/16339#issuecomment-25852... But of course it can still change.
comment by Sphax · 2016-11-08 · in Go’s alias proposal and all my concerns of Google controlling Go -
Alias declarations were reverted from 1.8 recently[0] [0] https://github.com/golang/go/commit/87f4e36ce7d7dffbf1f2a869...
comment by rusht · 2016-11-07 · in Go’s alias proposal and all my concerns of Google controlling Go -
…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...
comment by Arcaire · 2016-11-07 · in Go’s alias proposal and all my concerns of Google controlling Go -
…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 -
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 -
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 -
…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 -
…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 -
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 -
…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 -
…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/
comment by 0xmohit · 2016-10-18 · in The state of the Scala website and documentation -
…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
comment by billhathaway · 2016-10-16 · in Implementing a Tor relay from scratch in golang (2015) -
…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 -
…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 -
https://github.com/golang/go/wiki/PackageManagementTools
comment by MoOmer · 2016-09-20 · in Gorgonia: a library like Theano or TensorFlow, mainly written in Go -
…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…
comment by sqs · 2016-09-19 · in Building Sourcegraph - A large-scale code search engine in Go (2014) -
…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...
comment by Hahhaa · 2016-09-10 · in Dropping Down: Go Functions in Assembly Language -
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…
comment by drej · 2016-09-03 · in Golang – encoding/csv: Reading is slow -
…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...
comment by dalke · 2016-09-03 · in Golang – encoding/csv: Reading is slow -
Not only Symantec. See https://github.com/golang/go/issues/16292
comment by 0xmohit · 2016-09-03 · in Linux.Rex.1 – A multifunctional self-replicating Trojan for Linux written in Go -
Indeed. https://github.com/golang/go/issues/3606
comment by mholt · 2016-09-02 · in Linux.Rex.1 – A multifunctional self-replicating Trojan for Linux written in Go -
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 -
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 -
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 -
…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…
comment by beliu · 2016-08-26 · in Show HN: Poetically simple code review on GitHub