Top all-time · #1874
rakyll.org
Personal blog · rakyll.orgprogrammingsystems
rakyll.org is a personal blog at rakyll.org about programming and systems. Since 2014, 40 different Hacker News readers have linked it 47 times, most often “Style guideline for Go packages”. It is still writing: the last post was on 2026-09-22, and you can follow it by feed.
Too few sampled comments (9) to say how often HN recommends it.?
Why HN links it
Jaana Dogan's Go-focused posts on generics, the goroutine scheduler, debugging with core dumps, and testing techniques. Commenters link them to explain how Go works internally and as practical references.
Summarised by Claude from a sample of 9 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Style guideline for Go packages5 people · 5 mentions · first linked 2017-02-02
- The Go type system for newcomers4 people · 4 mentions · first linked 2017-12-29
- Go for Cloud4 people · 4 mentions · first linked 2020-02-12
- Generics facilitators in Go4 people · 4 mentions · first linked 2021-12-21
- Shardz3 people · 4 mentions · first linked 2021-12-03
- Inlined Defers3 people · 3 mentions · first linked 2020-01-22
- Go's work-stealing scheduler2 people · 2 mentions · first linked 2017-07-18
- Interface pollution in Go2 people · 2 mentions · first linked 2018-01-01
- Custom pprof profiles2 people · 2 mentions · first linked 2017-07-10
- The future of latency profiling in Go2 people · 2 mentions · first linked 2017-07-23
What Hacker News says?
Go does accept pull requests, just not GitHub ones: https://golang.org/doc/contribute.html#Code_review (I don't disagree with the premise though, Go does seem to be less community-driven than Rust; e.g. Rust has 3 mozilla employees in the top 10 contributors for the most recent release[0], where as Go has 9 Googlers in its top 10[1].) [0]: https://github.com/rust-lang/rust/graphs/contributors?from=2... [1]: https://…
Comment linking /go18cls/
on “Rust vs. Go”Submitted Go's work-stealing scheduler as a story · 200 points
HN discussionYou can certainly use generic parameters in methods—the [T any] just has to be on SomeNonGenericType, even if it's not used inside the type itself https://rakyll.org/generics-facilititators
Comment linking /generics-facilititators
on “Go generics are not bad”Submitted Generics facilitators in Go as a story · 192 points
HN discussionI believe they're talking about the semi-duck typing used in go for interfaces but I'm not certain. Interfaces are implicitly implemented with a runtime check determining whether a type x assigned to interface y is valid.This is why you'll often see an empty declaration in packages for structs intended to implement an interface like so: var _ y = x {} // syntax might be slightly wrong After writing this, I found the…
Comment linking /typesystem/
on “Generics facilitators in Go”Submitted The future of latency profiling in Go as a story · 145 points
HN discussionThere's a problem lurking behind this "simple" model: the goroutine you park on that blocking IO operation can't be collected reliably itself. I care about collecting goroutines, and would advocate that everyone should care about this. There's been a litany [1] of blogs about this recently, if anyone doesn't consider this self-evident. It's just systematically sane . Letting goroutines spin off into the distance wit…
Comment linking /leakingctx/
on “Goroutines, Nonblocking I/O, and Memory Usage”Submitted Shardz as a story · 62 points
HN discussionA good presentation did the rounds a while ago[0] that does a deeper dive but the main things for us are the performance, smaller binaries and the improvements in tooling. The one thing I wish they added though? `go new` and have it initialise a new project structure that stopped tiny package syndrome and bizarre Makefiles in repos! [1] [0] https://docs.google.com/presentation/d/1veyF0y6Ynr6AFzd9gXi4... [1] https://…
Comment linking /style-packages/
on “What's Coming in Go 1.15”Submitted Go for Cloud as a story · 5 points
HN discussionCross posting my comment from the crusty news aggregator site: I liked this blog post and agree with most of it. But I think its section on interfaces is a bit muddled. It links to this article[1] for more advice, and while the article sounds nice in principle from the perspective of someone publishing a library for others to use, I’ve found other techniques to be valuable as well. One technique I’m particularly fon…
Comment linking /interface-pollution/
on “Testing techniques in Go”Submitted Go for Cloud as a story · 4 points
HN discussionvia https://rakyll.org/generics-facilititators/ Example: https://go.dev/play/p/as3rT4fB3cn // Invocation: strings := []string {"1", "2", "3"} ints, err := Mapper[string, int](strings).MapErr(strconv.Atoi) strings = Mapper[string, string](strings).Map(func(s string) string { return s + "_suffix" }) // Definition: type Mapper[T, U any] []T func (ts Mapper[T, U]) Map(f func(T) U) (us []U) { us, _ = ts.MapErr(func(t T)…
Comment linking /generics-facilititators/
on “Go Developer Survey 2021 Results”Submitted Interface pollution in Go as a story · 4 points
HN discussionHaven't tried it personally, but based on a recent article shared at r/golang ( https://rakyll.org/coredumps/ , via https://www.reddit.com/r/golang/comments/6cvtd6/debugging_go... ), delve seems to show the contents of an .s file allright.
Comment linking /coredumps/
on “Show HN: C to Go Assembly”Submitted The Go type system for newcomers as a story · 4 points
HN discussionThe way all of this works is nicely detailed here: https://rakyll.org/scheduler/
Comment linking /scheduler/
on “Hello Go”Submitted Golang tooling essentials: useful flags and options as a story · 4 points
HN discussionSubmitted Generics Facilitators in Go as a story · 3 points
HN discussionSubmitted Spanner's High Availability Writes as a story · 3 points
HN discussionSubmitted Go for Cloud as a story · 3 points
HN discussionSubmitted The Go type system for newcomers as a story · 3 points
HN discussionSubmitted The future of latency profiling in Go as a story · 3 points
HN discussionSubmitted Shardz as a story · 2 points
HN discussionSubmitted Few Things on Generics as a story · 2 points
HN discussionSubmitted Inlined Defers in Go 1.14 as a story · 2 points
HN discussionSubmitted Inlined Defers as a story · 2 points
HN discussionSubmitted The Golang type system for newcomers as a story · 2 points
HN discussionSubmitted Style guideline for Go packages as a story · 2 points
HN discussionSubmitted Dapper-style Stackdriver Tracing for gRPC on Go as a story · 2 points
HN discussion