The One Billion Row Challenge In Go: From 1m 45s To 4s In Nine Solutions
- Ben Hoyt tl;dr: “This article describes the nine solutions I wrote in Go, each faster than the previous. The first, a simple and idiomatic solution, runs in 1 minute 45 seconds on my machine, while the last one runs in about 4 seconds. As I go, I’ll show how I used Go’s profiler to see where the time was being spent.”featured in #494
Making A Go Program 42% Faster With A One Character Change
- Harry Marr tl;dr: "If you read the title and thought “well, you were probably just doing something silly beforehand”, you’re right! But what is programming if not an exercise in making silly mistakes? Tracking down silly mistakes is where all the fun is to be had! I’ll also state the usual benchmarking caveat up front: the 42% speedup was measured while running the program on my data on my computer, so take that number with a big old pinch of salt."featured in #369
featured in #355
Rob Pike’s Simple C Regex Matcher In Go
- Ben Hoyt tl;dr: "Back in 1998, Rob Pike – of Go and Plan 9 fame – wrote a simple regular expression matcher in C for The Practice of Programming... With Go’s C heritage, and Pike’s influence on the Go language, I thought I’d see how well the C code would translate to Go, and whether it was still elegant.featured in #343
featured in #333
featured in #320
Generics Can Make Your Go Code Slower
- Vicent Marti tl;dr: "This blog post does not take sides in that debate, or advise where and when to use Generics in Go. Instead, this blog post is about the third side of the generics conundrum: It’s about systems engineers who are not excited about generics per se, but about monomorphization and its performance implications."featured in #304
featured in #302
featured in #300
Three Minor Features In Go 1.18
- Carl Johnson tl;dr: (1) Version control information included in the binary. (2) New http.MaxBytesHandler middleware (3) Unreasonably effective strings.Cut function.featured in #279