golang/go
View on GitHub ↗ ★ 139,735 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
-
…L|R). There has been an extensive amount of discussion about a number of different proposals, e.g. https://github.com/golang/go/issues/54685 , https://github.com/golang/go/issues/57644 , etc., but so far, much like "better" error handling,…
comment by kbolino · 2026-03-02 · in Why Go Can't Try -
▲ 4
The proposal for generic methods for Go has been officially acceptedstory by birdculture · 2026-02-28 · 0 comments
-
yikes: https://github.com/golang/go/blob/master/src/net/url/url.go#... maybe go can do (string v, ok bool) for this or add proper sum types...
comment by fjoaasdfas · 2026-02-22 · in Cloudflare outage on February 20, 2026 -
…to use ntfs, but a standard library should never. https://news.ycombinator.com/item?id=25997506 https://github.com/golang/go/issues/68678
comment by chad1n · 2026-02-18 · in Windows: Prefer the Native API over Win32 -
…and then a macOS update came out and broke everything, which taught them the error of their ways ( https://github.com/golang/go/issues/17490 ). I wonder if this will happen to Zig too.
comment by TazeTSchnitzel · 2026-02-18 · in Windows: Prefer the Native API over Win32 -
See also https://github.com/golang/go/issues/66653 (that I don’t think is linked from the article)
comment by aleksi · 2026-02-15 · in Inspecting the Source of Go Modules -
…as many parts of the stack). >ML-DSA support in Go is not the blocker for the bulk of this work. https://github.com/golang/go/issues/64537#issuecomment-34516...
comment by tjade273 · 2026-01-29 · in Building Cryptographic Agility into Sigstore -
…as they have a userspace scheduler things do differ a bit there, but most concepts still apply. https://github.com/golang/go/blob/2bd7f15dd7423b6817939b199c... https://github.com/golang/go/blob/2bd7f15dd7423b6817939b199c...
comment by arghwhat · 2026-01-29 · in Spinning around: Please don’t – Common problems with spin locks -
Some other ones, in case you aren't aware of. Oberon, https://www.projectoberon.net Go, https://github.com/golang/go/blob/2bd7f15dd7423b6817939b199c... https://github.com/golang/go/blob/2bd7f15dd7423b6817939b199c... D,…
comment by pjmlp · 2026-01-29 · in Writing a .NET Garbage Collector in C# – Part 6: Mark and Sweep -
I'm salty they are embracing SIMD, but shove this proposal to the side: https://github.com/golang/go/issues/58610 if you know the ISPC compiler, the proposal is basically that for Go
comment by hbogert · 2026-01-29 · in Go 1.26 Interactive Tour -
Some say Mac OS X is (or used to be) slower than Linux at least for certain syscalls. https://github.com/golang/go/issues/28739#issuecomment-10426... https://stackoverflow.com/questions/64656255/why-is-the-c-fu...…
comment by arter45 · 2026-01-25 · in I built a 2x faster lexer, then discovered I/O was the real bottleneck -
…or guesses as to why this is the case? EDIT: Go's unicode was actually updated to v17 yesterday: https://github.com/golang/go/commit/dd39dfb534d2badf1bb2d72d...
comment by mroche · 2026-01-24 · in Losing 1½ Million Lines of Go -
▲ 1
Proposal: Generic Methods for Gostory by pansa2 · 2026-01-23 · 0 comments
-
▲ 5
Proposal to add generic methods for Gostory by meling · 2026-01-23 · 0 comments
-
1. "Is the plan to contribute them back to Go?" - No. They won't accept the up-streams. See https://github.com/golang/go/issues/30613 2. "How is a one person fork of Go in any way going to ever be more secure than the original which is…
comment by conslit · 2026-01-15 · in A security-oriented Go compiler -
…portable: ///usr/bin/env go run "$0" "$@"; exit Note, the exit code isn't passed through due to: https://github.com/golang/go/issues/13440
comment by emersion · 2025-12-30 · in Go away Python -
Official stance about supporting interpreter mode for the reference https://github.com/golang/go/issues/24118
comment by age123456gpg · 2025-12-30 · in Go away Python -
…so seems like a decent chance it will happen. From: #73608 proposal: all: add bare metal support https://github.com/golang/go/issues/73608 > Go applications built with GOOS=none would run on bare metal, without any underlying OS. All…
comment by typical182 · 2025-12-23 · in Go-boot: bare metal Go UEFI boot manager -
https://github.com/golang/go/blob/7ecb1f36acab7b48d77991d58d... Here linker relies on the current memory layout. Changing it requires updating linker code as well.
comment by f311a · 2025-12-21 · in Hash tables in Go and advantage of self-hosted compilers -
▲ 2
Go proposal: spec: sum types based on general interfacesstory by theli0nheart · 2025-12-20 · 0 comments
-
Issue tracking this “regression” : https://github.com/golang/go/issues/71368
comment by ncruces · 2025-12-20 · in Hash tables in Go and advantage of self-hosted compilers -
…some open questions like what to use for a backing data type and what complexity promises to make. https://github.com/golang/go/discussions/47331
comment by kevindamm · 2025-12-20 · in Hash tables in Go and advantage of self-hosted compilers -
…isn't sufficient at a technical level, which are brought up by comments on the original proposal: https://github.com/golang/go/issues/21865 1) You are almost certainly going to be passing that key material to some other functions, and…
comment by kbolino · 2025-12-13 · in Go Proposal: Secret Mode -
▲ 3
Pure-Go implementation without CGO dependencystory by andrewstetsenko · 2025-12-11 · 0 comments
-
…You cannot reimplement arenas as the experiment did without special hooks into the runtime. https://github.com/golang/go/blob/master/src/arena/arena.go
comment by 9rx · 2025-12-11 · in Golang's big miss on memory arenas -
TIL: https://github.com/golang/go/discussions/70257
comment by pstuart · 2025-12-10 · in Golang's big miss on memory arenas -
…regions proposal[1], which is what came out of what was learned from tinkering with arenas. [1] https://github.com/golang/go/discussions/70257
comment by 9rx · 2025-12-10 · in Golang's big miss on memory arenas -
…on "memory regions" as a successor to the arena concept, without the API "infection" problem: https://github.com/golang/go/discussions/70257
comment by ideal_gas · 2025-12-10 · in Golang's big miss on memory arenas -
…And an in-progress proposal to make these various "bubble" functions have consistent semantics: https://github.com/golang/go/issues/76477 (As an aside, the linked blog series is great, but if you're interested in new Go features, I've…
comment by dpifke · 2025-12-10 · in Go Proposal: Secret Mode -
I thought the recent error proposal was quite interesting even if it didn't go through: https://github.com/golang/go/issues/71528 My hope is they will see these repeated pain points and find something that fits the error/result/enum issues…
comment by evanmoran · 2025-12-04 · in Thoughts on Go vs. Rust vs. Zig -
…I started reading through one of their highlighted examples --- the Go repo ( https://codewiki.google/github.com/golang/go ). This might be the worst high level overview of Go and its repo I've read. Mostly accurate but unhelpfully…
comment by gunsch · 2025-12-02 · in Code Wiki: Accelerating your code understanding -
You might find this proposal and the upcoming runtime/secret package interesting. https://github.com/golang/go/issues/21865
comment by FiloSottile · 2025-11-20 · in Go Cryptography State of the Union -
…e.g. with Go projects, the go linker exposes an -x flag Someday, Go programs won't have to do this: https://github.com/golang/go/issues/50603
comment by ignoramous · 2025-11-20 · in Reproducible C++ builds by logging Git hashes -
…been working on a programming language named Go for the last 10 years, please pick another name." https://github.com/golang/go/issues/9
comment by CobrastanJorji · 2025-11-17 · in Project Gemini -
…and when they did Go! dirty, Google made clear which one they are. Status changed to Unfortunate https://github.com/golang/go/issues/9#issuecomment-66047478
comment by ModernMech · 2025-11-15 · in Go's Sweet 16 -
…something like intrinsics even. Fortunately compiler support for intrinsics seems to be on its way! https://github.com/golang/go/issues/73787
comment by ashf023 · 2025-11-05 · in The state of SIMD in Rust in 2025 -
…to technical infeasibilty. What exactly are the rules for when a thread is garbage collected in W++? [0] github.com/golang/go/issues/19702
comment by bheadmaster · 2025-10-26 -
…want to optimistically assume otherwise. Is pread() available in the Golang standard library? https://github.com/golang/go/issues/19563 is someone using os.File.ReadAt, which is a method name that makes me even more uncertain. But there's…
comment by kragen · 2025-10-24 · in How memory maps (mmap) deliver faster file access in Go -
…the code that would be needed, and I discovered that you can't call real or imag on generic types: https://github.com/golang/go/issues/50937 ]
comment by kbolino · 2025-10-22 · in Go subtleties -
The time.After function creates a channel that will be sent a message after x seconds. Or, will it? https://github.com/golang/go/issues/24595 ... even though the value is nil, the type of the variable is a non-nil interface... Go "boxes"…
comment by ignoramous · 2025-10-22 · in Go subtleties -
…System" or "Phone Idle") For example, Golang applications had 15 second keep alive until recently: https://github.com/golang/go/issues/48622 . Imagine you've opened the website which uses golang web server/proxy and enabled notifications…
comment by ValdikSS · 2025-10-21 · in KDE Connect: Enabling communication between all your devices -
The consequences of this genius decision were stuff like this: https://github.com/golang/go/issues/16570 Which is why they have already backpedalled on this decision on most platforms. Linux is pretty much the only OS where the syscall ABI…
comment by int_19h · 2025-10-19 · in IDEs we had 30 years ago and lost (2023) -
…you can easily experiment to see if this helps your application, without doing a major refactor. In https://github.com/golang/go/issues/64926 it was a bridge-too-far for the Go developers (fair enough) but maybe it could still happen one…
comment by mappu · 2025-10-10 · in CPU cache-friendly data structures in Go -
Semi related: there is an active proposal of having a go OS Target of "none" (or noos (No-OS)). https://github.com/golang/go/issues/73608 Sounds like they want to maybe include https://github.com/usbarmory/tamago in the compiler.
comment by kyrra · 2025-10-09 · in Goiaba: An experimental Go compiler, written in Rust -
…The reporter actually spent the effort to track it down, turns out it _was_ a Go compiler bug. ( https://github.com/golang/go/issues/20427 )
comment by SuperQue · 2025-10-09 · in We found a bug in Go's ARM64 compiler -
I noticed this when reviewing the linked issue: https://github.com/golang/go/issues/73259#issuecomment-31004... Does the Go team have a natural language bot or is this just comment.contains(“backport”) type stuff?
comment by cmckn · 2025-10-08 · in We found a bug in Go's ARM64 compiler -
For the impatient, here's the fix: https://github.com/golang/go/commit/f7cc61e7d7f77521e073137c...
comment by pengaru · 2025-10-08 · in We found a bug in Go's ARM64 compiler -
▲ 3
Go Proposal: architecture-specific SIMD intrinsicsstory by kokada · 2025-09-29 · 0 comments
-
…I'm really hopeful that the SIMD proposals do eventually make it into the language, e.g. this one: https://github.com/golang/go/issues/73787#issuecomment-32081...
comment by nasretdinov · 2025-09-25 · in How fast is Go? Simulating particles on a smart TV -
…hold: > Note, 2023-01-17. This proposal is on hold indefinitely due to serious API concerns. https://github.com/golang/go/issues/51317 Potential successor: https://github.com/golang/go/discussions/70257
comment by sa46 · 2025-09-25 · in How fast is Go? Simulating particles on a smart TV