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
-
The golang project itself is a perfect example: https://github.com/golang/go/blob/master/src/Make.dist
comment by dcow · 2020-07-18 · in Falsehoods programmers believe about build systems (2012) -
…char to be signed You mean unsigned char? that's a common hurdle while porting x86 code to ARM. [1] https://github.com/golang/go/issues/38485 [2] https://gist.github.com/tonistiigi/290d2e7118fe6f581e336bf35...
comment by Abishek_Muthian · 2020-07-16 · in Introducing Swift Service Lifecycle -
…and whether it's because of Apple's extension of ARM instructions. [1] https://needgap.com [2] https://github.com/golang/go/wiki/GoArm#jetson-nano
comment by Abishek_Muthian · 2020-07-16 · in Introducing Swift Service Lifecycle -
…sufficient you need to learn all these tricks by heart in order to do basic operations on slices: https://github.com/golang/go/wiki/SliceTricks
comment by throw_m239339 · 2020-07-15 · in Go generics may use square brackets [] not parenthesis () -
…to be eaten by Kaspersky [2] [1] https://github.com/secretsquirrel/the-backdoor-factory [2] https://github.com/golang/go/issues/16292
comment by photon12 · 2020-07-14 · in Python malware on the rise -
…If a formalised format is used (as shown in [0]) then of course you'll never have the option. [0] https://github.com/golang/go/commit/5779bb4e92911271583faa13...
comment by MaxBarraclough · 2020-07-08 · in Git commit accepts several message flags (-m) to allow multiline commits -
…case. Many high-profile projects have essays in their commits; I'm familiar with those of Go, e.g. https://github.com/golang/go/commit/5779bb4e92911271583faa13... (picked one at random).
comment by alderz · 2020-07-08 · in Git commit accepts several message flags (-m) to allow multiline commits -
…long-run it was the right move, but man was it painful. 1: https://stackoverflow.com/a/57372286 2: https://github.com/golang/go/wiki/Modules
comment by m0th87 · 2020-07-07 · in Keeping your Go modules compatible -
It's pretty clear and well explained there: https://github.com/golang/go/wiki/Modules On a day to day operation, you need to know 2/3 commands that's it. - go mod init - go mod tidy - go get xxx
comment by Thaxll · 2020-07-07 · in Keeping your Go modules compatible -
…perspectives depend on what you want to use it for and how much numerical processing you do. [1] https://github.com/golang/go/issues/6282
comment by dm319 · 2020-07-03 · in LFortran: Modern interactive LLVM-based Fortran compiler -
…on libc if they can avoid it, but on a lot of systems they really can't avoid it. Ah, here we go: https://github.com/golang/go/issues/36435 > Upcoming changes to the OpenBSD kernel will prevent system calls from being made unless they are…
comment by yjftsjthsd-h · 2020-06-28 · in Guide to Linux System Calls (2016) -
…for wrapping around OpenGL and the likes, in a (complex) gaming context. See issues like this: https://github.com/golang/go/issues/19574
comment by sk0g · 2020-06-28 · in Building a high performance JSON parser -
…ttps://github.com/qiniu/goplus/wiki/Error-Handling foo()? // for goplus try(foo()) // the go proposal https://github.com/golang/go/issues/32437
comment by maxmcd · 2020-06-19 · in GoPlus – The Go+ language for data science -
…reason. [1]: https://github.com/opencontainers/runc [2]: https://golang.org/doc/go1.10#runtime [3]: https://github.com/golang/go/issues/20676 [4]: https://www.weave.works/blog/linux-namespaces-golang-followu... [5]:…
comment by lima · 2020-06-18 · in Gocker: Docker implemented in 1.3k lines of Go -
▲ 2
Golang – DeepEqual can return true for values that are not equalstory by nitinreddy88 · 2020-06-17 · 0 comments
-
…so brilliant where's your proposal dated Jun 2010 (your 'decade lost') that "solves" generics? [1]: https://github.com/golang/go/issues/15292
comment by infogulch · 2020-06-16 · in The Next Step for Generics -
For reference https://github.com/golang/go/wiki/WebAssembly
comment by rudolph9 · 2020-06-12 · in Go 1.15 – Draft release notes -
…No. So why is this even here? Compare the Go crypto reaction when somebody wants to add ECB mode: https://github.com/golang/go/issues/5597 OpenSSL is better now than it was then, it might even be the least worst option for a lot of people…
comment by tialaramex · 2020-06-09 · in GnuTLS: TLS 1.3 session resumption works without master key, allowing MITM -
Discussion of supporting this in the Go runtime is here: https://github.com/golang/go/issues/31908 TL;DR there's no ETA for it.
comment by networkimprov · 2020-06-08 · in Getting Hands-on with io_uring using Go -
I'm not sure I think it's just a current limitation: https://github.com/golang/go/wiki/CompilerOptimizations#func... They do improve the compiler every release, so we might see some of those operations get inlined in the future. More…
comment by Thaxll · 2020-06-05 · in The Go Compiler Needs to Be Smarter -
…to show that while a self hosted build system is nice, you forgo decades of gcc/llvm optimisations. https://github.com/golang/go/issues/17566
comment by drej · 2020-06-05 · in The Go Compiler Needs to Be Smarter -
…fix some of it is my understanding but will have to wait and see -- not playing with /tip! [0] https://github.com/golang/go/commit/fff7509d472778cae5e652db...
comment by hactually · 2020-06-05 · in The Go Compiler Needs to Be Smarter -
▲ 1
Proposal to add sum types to Gostory by azhenley · 2020-06-04 · 0 comments
-
…someone to watch the Go issue tracker, and subscribe to all issues that might affect them. https://github.com/golang/go/issues/
comment by networkimprov · 2020-05-21 · in Three bugs in the Go MySQL driver -
…original issue[1] promises to ”[open] some tickets for various drivers”. Did this not happen? 1: https://github.com/golang/go/issues/23519#issuecomment-36057...
comment by nemetroid · 2020-05-21 · in Three bugs in the Go MySQL driver -
Bug #3 (The race) was silently introduced by a semantic change in Go's database/sql in January 2018: https://github.com/golang/go/commit/651ddbdb5056ded455f47f9c... It took until December of the same year until we got the first bug report…
comment by JulienSchmidt · 2020-05-21 · in Three bugs in the Go MySQL driver -
This as well, a recently fix for this scenario https://github.com/golang/go/issues/34775
comment by todotask · 2020-05-21 · in Three bugs in the Go MySQL driver -
…touches UI to UI thread. Which is the same thing you must do in C# (or any other language). See https://github.com/golang/go/wiki/LockOSThread
comment by kjksf · 2020-05-19 · in What Color Is Your Function? (2015) -
▲ 5
Go 2 proposal: simplify error handling with "pass" or "return if"story by kevlar1818 · 2020-05-09 · 1 comment
-
On Linux it has avoided libc for nsswitch in the common case since 2015: https://github.com/golang/go/issues/10485 Golang has only very recently (in its lifetime) and grudgingly admitted that operating systems that provide ABI stability at…
comment by loeg · 2020-05-05 · in Why does musl make my Rust code so slow? -
…to be disabled and a subset of NSS will be implemented in Go. Native NSS modules will not work. [1] https://github.com/golang/go/issues/24083
comment by alecthomas · 2020-05-03 · in Making Rust as Fast as Go -
…allow mutex free communication between goroutines without a pain. Channels are not lock free: https://github.com/golang/go/issues/8899
comment by 2StepsOutOfLine · 2020-05-02 · in Building a patient monitoring system with Go and Vue in 3 days -
Not a large forest, https://github.com/golang/go/wiki/GoUsers , but it expands fastly.
comment by tapirl · 2020-05-01 · in Rob Pike interview -
…https://news.ycombinator.com/item?id=2535206 [3]: https://news.ycombinator.com/item?id=2535386 [4]: https://github.com/golang/go/issues/29147 [5]: https://github.com/ziutek/emgo [6]: https://github.com/tinygo-org/tinygo [7]:…
comment by cletus · 2020-04-30 · in Rob Pike interview -
…and Go's former inability to preemptively schedule tightly written loops? (Solved along the way: https://github.com/golang/go/issues/10958 ) Or something else?
comment by jeremyw · 2020-04-17 · in Gleam: A statically typed language for the Erlang VM -
…https://nerves-project.org - Golang: + https://github.com/tinygo-org/tinygo + https://gobot.io/ + https://github.com/golang/go/wiki/GoArm - Rust I suppose you can just directly compile for any SoC like the RPi.
comment by pdimitar · 2020-04-09 · in The JavaScript Black Hole: A playbook for ethical engineering on the web -
…its way to it). This is for instance Go's implementation which is readable and well documented: https://github.com/golang/go/blob/master/src/cmd/compile/int...
comment by giovannibajo1 · 2020-04-07 · in Synthesizing Optimal 8051 Code -
…would have to add support for this, but it would be a pretty elegant solution to the problem. [0]: https://github.com/golang/go/issues/37724
comment by jniedrauer · 2020-03-14 · in Git partial clone lets you fetch only the large file you need -
Go doesn't use a generated parser. Both the parser and the lexer are hand-written: https://github.com/golang/go/blob/master/src/go/parser/parse... https://github.com/golang/go/blob/master/src/go/scanner/scan... Why did you think it was…
comment by atombender · 2020-03-05 · in Why not to use (f)lex, yacc or bison -
It has already caused several issues in golang, and this is an example: https://github.com/golang/go/issues/16474
comment by apta · 2020-03-04 · in Is Go Duck-Typed? -
…of the local scope). Not to mention interfaces are badly designed, leading to issues like this: https://github.com/golang/go/issues/16474
comment by apta · 2020-02-28 · in I Want Off Mr. Golang's Wild Ride -
…interface design also encourages hacks (which lead to difficult to track down bugs) like this: https://github.com/golang/go/issues/16474
comment by apta · 2020-02-28 · in I Want Off Mr. Golang's Wild Ride -
…broken assumptions, I know this particular one was discovered independently by many people: https://github.com/golang/go/blob/71ab9fa312f8266379dbb358b9... https://marcan.st/2017/12/debugging-an-evil-go-runtime-bug/
comment by rhinoceraptor · 2020-02-28 · in I Want Off Mr. Golang's Wild Ride -
…stems from a file whose contents are: // This file is intentionally empty. // It's a workaround for https://github.com/golang/go/issues/15006 I about fell out of my chair. Pure gold.
comment by gavinray · 2020-02-28 · in I Want Off Mr. Golang's Wild Ride -
For others following along - this is https://github.com/golang/go/issues/5901 to register custom marshallers on an existing `json.Encoder` instance. I feel like it's generally possible to work around this by creating a wrapper struct with…
comment by mappu · 2020-02-26 · in Go 1.14 release notes -
Ok, we've changed to that URL from https://github.com/golang/go/releases/tag/go1.14 . Thanks!
comment by dang · 2020-02-25 · in Go 1.14 release notes -
…times are still much longer than what they were pre-1.5 when the compiler was written in C. [1] https://github.com/golang/go/issues/6853
comment by calcifer · 2020-02-25 · in Fuchsia Programming Language Policy