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
-
…happen after a thread is interrupted by the OS, is that the thread resumes exactly when it was. [0] https://github.com/golang/go/issues/24543
comment by tomp · 2019-11-13 · in Cooperative Threading -
…possible to deadlock Go with a certain incantation of tight looping. This is being worked on here: https://github.com/golang/go/issues/24543
comment by systemcluster · 2019-11-08 · in Async-await on stable Rust -
…know the details though. [1] https://tedwvc.wordpress.com/2013/07/19/finding-the-kernel32... [2] https://github.com/golang/go/issues/21805
comment by comex · 2019-11-04 · in Electron apps cannot be submitted to the Apple store -
…good example is the Go compiler. Assuming you have any version of Go in your PATH, it's: git clone https://github.com/golang/go cd go/src ./make.bash # or make.bat for Windows And that's it. You can then use "bin/go" to compile your…
comment by giovannibajo1 · 2019-10-28 · in SQLite is easy to compile -
…unofficial package [3][4]. [1] https://go.googlesource.com/proposal/+/master/design/29934-e... [2] https://github.com/golang/go/issues/29934 [3] https://github.com/pkg/errors [4] https://github.com/pkg/errors/tree/c978824
comment by guessmyname · 2019-10-19 · in Working with Errors in Go 1.13 -
…anytime over cryptic message. [0] https://github.com/ImageMagick/ImageMagick/commits/master [1] https://github.com/golang/go/commit/610d522189ed3fcf0d298609...
comment by m_sahaf · 2019-10-18 · in My Favourite Git Commit -
…problem though is that it requires all your code + all the dependencies to be under $GOPATH/src. https://github.com/golang/go/issues/33655 starts with: "At this time, the godoc command is only able to display packages that are located in a…
comment by dmitris · 2019-10-15 · in Rustup 1.20.0 -
The Go team is working on an update of its scheduler to make it preemptive. Will Tokio follow suit? https://github.com/golang/go/issues/24543
comment by networkimprov · 2019-10-14 · in Making the Tokio scheduler 10x faster -
…no IO one must wonder why you would not just port those bits to Go. (Example of scheduler issue: https://github.com/golang/go/issues/19574 ) I continue to contend that considering this to be a show stopper to be unfair or at least not very…
comment by jchw · 2019-10-12 · in Fibers aren’t useful for much any more -
…most recent Go release, the linked documentation doesn't yet take that into account, it would seem. https://github.com/golang/go/wiki/ErrorValueFAQ
comment by badrequest · 2019-10-11 · in Uber Go Style Guide -
…issues/comments(i.e [1] ) but in practice you find out about them when your program crashes. https://github.com/golang/go/issues/15924#issuecomment-45557...
comment by thefounder · 2019-10-10 · in Things you probably don't know about Go (2012) [slides] -
GitHub issue: https://github.com/golang/go/issues/27026 . Marked as [help wanted], so if you're a JS/CSS wizard, come send some CLs/MRs/PRs/what-do-they-call-patches-these-days.
comment by ainar-g · 2019-10-10 · in Things you probably don't know about Go (2012) [slides] -
…as happening in 2016-7. In the past couple years escape analysis has gotten a lot of effort ( https://github.com/golang/go/issues/23109 ) and there's also now mid-stack inlining ( https://github.com/golang/go/issues/19348 ) which obviously…
comment by twotwotwo · 2019-10-09 · in Einstein Analytics and Go -
▲ 1
Surprise, Go 1.12 isn't fully supported anymorestory by networkimprov · 2019-10-09 · 0 comments
-
…or not, and was subsequently closed. [0]: https://tools.ietf.org/html/rfc3339#section-5.6 [1]: https://github.com/golang/go/issues/31113
comment by lozf · 2019-10-06 · in A simple file encryption tool and format -
…interfaces 1. len, cap to return untyped ints if constant [0] https://golang.org/issue/6977 [1] https://github.com/golang/go/issues/31795 Major changes 2. Remove SSLv3 3. Make TLS 1.3 opt-out 4. Automatically check and use vendored…
comment by karmakaze · 2019-10-05 · in What's Coming in Go 1.14 [slides] -
…with sub-modules in multiple workspaces in vscode and ignore the sub-modules on the main workspace. https://github.com/golang/go/issues/32394
comment by geoah · 2019-10-05 · in What's Coming in Go 1.14 [slides] -
…notes: https://golang.org/doc/go1.13#compiler And GitHub says the commit is present in go1.13: https://github.com/golang/go/commit/996a687ebbf81b26f81b41b8...
comment by aaronbee · 2019-10-05 · in What's Coming in Go 1.14 [slides] -
…issue raised[2] about this seems to be stalled as well. [1] https://proxy.golang.org/privacy [2] https://github.com/golang/go/issues/33985
comment by xelekitry · 2019-10-05 · in What's Coming in Go 1.14 [slides] -
…dynamically link against libc, unless you disable cgo or force statically linking with libc. See https://github.com/golang/go/issues/26492 for more details. I think the purpose of the flag will be to force static linking in all edge cases,…
comment by mvdan · 2019-10-05 · in What's Coming in Go 1.14 [slides] -
▲ 2
Golang DNS client vulnerable to DoS attacks from PTR recordsstory by solidsparrow · 2019-10-03 · 0 comments
-
▲ 1
Go proposal: enable Windows FILE_SHARE_DELETE flagstory by networkimprov · 2019-10-02 · 0 comments
-
▲ 2
Go net/HTTP: invalid headers are normalized, allowing request smugglingstory by laumars · 2019-10-02 · 0 comments
-
There was a proposal https://github.com/golang/go/issues/7512 to make interface method return types covariant, but it didn't go anywhere, and people seemed to favor the broken behavior (returning a concrete type can fail to satisfy an…
comment by erik_seaberg · 2019-10-01 · in Go Interfaces, the Tricky Parts -
…should be defined where they are used, so searching for implementations becomes a non-issue anyway. https://github.com/golang/go/wiki/CodeReviewComments#interfa...
comment by rqk9j · 2019-10-01 · in Go Interfaces, the Tricky Parts -
▲ 2
Golang Vulnerable to HTTP Request Smugglingstory by big_chungus · 2019-09-30 · 0 comments
-
…know which came first, the keyword or the name. 1. https://news.ycombinator.com/item?id=5182658 2. https://github.com/golang/go/commit/e4bd8e04087ac9e7c8b754df...
comment by jbarham · 2019-09-30 · in Creating the Go Programming Language [audio] -
Here's a Go2 proposal from Rob Pike to change Go's int to an arbitrary-precision BigInt: https://github.com/golang/go/issues/19623
comment by cpeterso · 2019-09-29 · in Bounded Integer: Header-only C++ library replaces integers, adds explicit bounds -
…runtime.c, and runtime.h all existed in Go 1.4 [2]. [0]: https://github.com/rsc/c2go [1]: https://github.com/golang/go/blob/7b294cdd8df0a9523010f6ffc8... [2]: https://blog.golang.org/gccgo-in-gcc-471 [3]:…
comment by benesch · 2019-09-13 · in Building a Better Go Linker -
…bias towards a particular, idiosynchratic way of doing things, which is not always a positive. [1] https://github.com/golang/go/commit/0cafb9ea3d [2] http://lambda-the-ultimate.org/node/715
comment by atombender · 2019-09-13 · in Building a Better Go Linker -
…its development easier as there is only one language to deeply know (plus assembly of course). [1] https://github.com/golang/go/issues/27539
comment by grumpydba · 2019-09-13 · in Building a Better Go Linker -
…golang.org/doc/faq#What_compiler_technology_is_used_... [7]: https://go.googlesource.com/gollvm/ [8]: https://github.com/golang/go/issues/18597
comment by benesch · 2019-09-13 · in Building a Better Go Linker -
▲ 2
Ask HN: Go modules and semantic import versioningstory by TXV · 2019-09-12 · 1 comment
-
…of expressions?). Not sure if things have changed, but this issue is still open 4 years later: https://github.com/golang/go/issues/11646 Not sure I fully understand the NFA vs DFA/re2 choices -- seem like the issue above conflicts with the…
comment by Tempest1981 · 2019-09-06 · in Go 1.13 Release Notes -
▲ 1
Go 2: chained comparisons proposalstory by thuum7 · 2019-09-05 · 0 comments
-
…working at Google to use open-source paradigms and be careful with anything involving corporations? https://github.com/golang/go/issues/34029
comment by arez · 2019-09-04 · in Go 1.13 Release Notes -
Compatible with what exactly. No one uses octal. Here is a link to Pike fucking it up 10 years ago. https://github.com/golang/go/issues/151#issuecomment-6604830...
comment by Gibbon1 · 2019-09-04 · in Go 1.13 Release Notes -
…because missing functionality and upstream EOL.[1] [0]: https://golang.org/doc/go1.11#runtime [1]: https://github.com/golang/go/issues/27619
comment by terinjokes · 2019-09-04 · in Go 1.13 Release Notes -
…things, like the tight version range that the compiler can bootstrap from, could be improved. [1]: https://github.com/golang/go/wiki/Go-Release-Cycle [2]: https://blog.rust-lang.org/2014/12/12/1.0-Timeline.html [3]:…
comment by est31 · 2019-09-03 · in Go 1.13 Release Notes -
…variables on everyone's individual machines. I've got an issue being discussed on GitHub about it https://github.com/golang/go/issues/33985
comment by donatj · 2019-09-03 · in Go 1.13 Release Notes -
…be too expensive, but then later they were able to figure out a way to do it. Some more details: https://github.com/golang/go/issues/30116
comment by typical182 · 2019-09-03 · in Go 1.13 Release Notes -
▲ 1
Golang 1.13 Releasedstory by mapl · 2019-09-03 · 0 comments
-
▲ 1
Go 1.13story by rumpelsepp · 2019-09-03 · 0 comments
-
…in the announcement. It would seems like it will cause a lot of drama as this actually rolls out. https://github.com/golang/go/issues/33980
comment by hammerandtongs · 2019-08-30 · in Go Module Mirror and Checksum Database Launched -
with the addition of the `gopls` tool ( https://github.com/golang/go/wiki/gopls ), this shouldn't be nearly as much of a problem in the coming years.
comment by badrequest · 2019-08-30 · in Go Module Mirror and Checksum Database Launched -
On this topic, I found the following wiki to be a great learning resource: https://github.com/golang/go/wiki/WebAssembly
comment by lioeters · 2019-08-30 · in WebAssembly: Bringing Go to the Browser (and Beyond) -
…the runtime of Go is implemented in Go. For example, here's the sweeping component of the gc: https://github.com/golang/go/blob/master/src/runtime/mgcswee... But that doesn't mean you can get a Go without a runtime; the final executable's…
comment by jerf · 2019-08-28 · in Rust is the future, C is the new Assembly: Josh Triplett (Intel) -
▲ 2
Proposal Go 2: add a ternary conditional operatorstory by integrii · 2019-08-19 · 0 comments
-
https://github.com/golang/go/issues/33631 (this is part of go 1.12.8 and 1.11.13 which got released because of this today)
comment by 140am · 2019-08-13 · in HTTP/2 Denial of Service Advisory -
…might scan that part of the memory (if its heap allocated) any time even while the loop is running. https://github.com/golang/go/blob/e37a1b1ca6afcbe3b02d2dfd59... There could be effects observed due to the difference of having small…
comment by martisch · 2019-08-07 · in Benchmark of Golang slice initialization (Always use known capacity)