Konrad Reiche's Avatar

Konrad Reiche

@konradreiche.com

Writing ⌯Go at Reddit konradreiche.com

173
Followers
112
Following
147
Posts
12.04.2023
Joined
Posts Following

Latest posts by Konrad Reiche @konradreiche.com

Post image

📣 The #GopherCon Call for Speakers is officially closed!

A huge thank you to everyone who submitted a talk proposal. We received 150+ submissions, and our Evaluation Committee is now diving into the review process.

Stay tuned as programming is expected to go live in early May.

#RoadToGopherCon

05.03.2026 18:44 👍 2 🔁 1 💬 0 📌 0

Congrats Jayme! I have a feeling this won't be the last time you land something that touches systems all over the world.

05.03.2026 16:20 👍 1 🔁 0 💬 0 📌 0

This one is pretty funny go.dev/issue/77934.

Turns out a struct used for Go ←→ Linux syscalls use int64 when Linux expects int32.

But by chance this can't cause a bug because:
1. it is the last field of the struct
2. the size of the struct doesn't change since C aligns int64 to 8 bytes on 32 bits

04.03.2026 10:28 👍 11 🔁 1 💬 1 📌 0

Less than 24 hours until the @gophercon.com call for speakers closes. I started editing my proposal, then remembered the German word "verschlimmbessern" (to improve something for the worse). Turns out it was already where it needed to be. Threw out the edits 👋🗑️

04.03.2026 16:13 👍 2 🔁 1 💬 0 📌 0

Excellent example of how a data race can produce a value that was never assigned. This is what undefined behavior can look like in practice: go.dev/play/p/HuIoL...

25.02.2026 16:03 👍 4 🔁 0 💬 0 📌 0

This is such a great example! I believe you can use wg.Go() to make it even more readable.

25.02.2026 15:55 👍 1 🔁 0 💬 1 📌 0
Preview
GitHub - dronnix/bwarr: Black-White Array: fast, ordered data structure based on arrays with O(log N) memory allocations Black-White Array: fast, ordered data structure based on arrays with O(log N) memory allocations - dronnix/bwarr

Very cool Go library from @dronnix.bsky.social. It implements a Black-White Array, an ordered structure with O(log n) operations but far fewer allocations than B-Trees. Cache-friendly and supports duplicates github.com/dronnix/bwarr

22.02.2026 03:49 👍 1 🔁 0 💬 0 📌 1
Post image

🎤 The #GopherCon stage is calling…

Dreaming of your mic drop moment? Just 2 weeks left to wow us with your #golang talk proposal!

Submit by March 4th 👇
sessionize.com/gophercon-20...

#RoadToGopherCon

18.02.2026 23:27 👍 6 🔁 3 💬 0 📌 0

“Using go fix to modernize Go code” by Alan Donovan — https://go.dev/blog/gofix

#golang

17.02.2026 16:50 👍 61 🔁 22 💬 0 📌 4
Preview
What Go conference reviewers look for in a talk proposal In 2024, I reviewed 233 GopherCon talk proposals as part of the review committee. As a reviewer, I had to judge proposals solely on what’s written, not assume anything, and identify what value the tal...

It's conference talk proposal season again! In 2024 I had the privilege of reviewing 233 proposals as part of the GopherCon review committee. Most scored below 3/5, not because they were bad, but because they missed the critical piece. I wrote up what I learned: konradreiche.com/blog/what-go...

17.02.2026 17:48 👍 2 🔁 1 💬 0 📌 0

"That said, here is a neatly self-contained Go module for convenience."

12.02.2026 15:43 👍 1 🔁 0 💬 1 📌 0
Preview
GitHub - pboyd/redefine Contribute to pboyd/redefine development by creating an account on GitHub.

A colleague shared this Go library that can redefine functions at runtime.

I assumed it was a joke.
It was not a joke.

I'm going to pretend I never saw this github.com/pboyd/redefine

12.02.2026 15:30 👍 1 🔁 0 💬 1 📌 0

I'm putting the finishing touches on the Staticcheck update for #golang 1.26. You can expect a release by the end of the week.

12.02.2026 02:25 👍 29 🔁 4 💬 1 📌 1

I feel you. I've had flights where all I wanted was to dig into an implementation on my phone but didn't have good tools for it. Also this post came to mind: buttondown.com/hillelwayne/...

If AI reduces manual coding, I suspect the frontier shifts toward AI-assisted reading.

10.02.2026 15:30 👍 2 🔁 0 💬 1 📌 0
Preview
PaperCall.io - GopherCon Singapore 2026 # GopherCon Singapore 2026 The international Go programming language conference for Singapore and Southeast Asia is back again! GopherCon Singapore 2026 will be held on 20–22 May 2026. We are very e...

#GopherConSG is back for 2026! Our next conference will take place on 20–22 May, and our #CFP is open right now! 💥 If you have #golang ideas to share, we're looking forward to hearing all about them! 🙋‍♀️🙋‍♂️

www.papercall.io/gopherconsg-...

30.01.2026 15:14 👍 2 🔁 2 💬 0 📌 0

Looks like @gophercon.sg is scheduled for May 20–22 🇸🇬 2026.gophercon.sg

26.01.2026 15:10 👍 1 🔁 1 💬 0 📌 0
Preview
Proposal: Generic Methods for Go · Issue #77273 · golang/go Proposal: Generic Methods for Go A change of view. Background For clarity, in the following we use the term concrete method (or just method when the context is clear) to describe a non-interface me...

Interesting expansion of generics in #golang 👀

23.01.2026 00:35 👍 36 🔁 8 💬 3 📌 0
Preview
GitHub - uber-go/gopatch: Refactoring and code transformation tool for Go. Refactoring and code transformation tool for Go. Contribute to uber-go/gopatch development by creating an account on GitHub.

I'd been feeling pretty good about leveling up my Vim refactoring skills with regex find/replace and :argdo. Then I wrote my first gopatch, applied it across the codebase, and there's no going back github.com/uber-go/gopa...

22.01.2026 15:48 👍 1 🔁 0 💬 0 📌 0
A Stuttgart Gophers coffee mug filled with coffee on a wooden desk by a window, with a cactus in the background.

A Stuttgart Gophers coffee mug filled with coffee on a wooden desk by a window, with a cactus in the background.

Sitting at home in San Francisco, drinking coffee from a Stuttgart Gophers mug that was given to me at the @golab.io conference in Florence, Italy. I find this quite telling of how international the Go community is.

20.01.2026 16:28 👍 3 🔁 0 💬 1 📌 0
research!rsc: Differential Coverage for Debugging

Differential Coverage for Debugging research.swtch.com/diffcover

10.01.2026 22:04 👍 1 🔁 0 💬 0 📌 0

While I am quietly rooting for Framework laptops, I am genuinely surprised to see Lenovo embracing repairability again. ThinkPad X1 Carbon Gen 14 coming with a modular keyboard and USB C ports is not what I was expecting www.notebookcheck.net/Repairabilit...

07.01.2026 16:23 👍 0 🔁 0 💬 0 📌 0
Preview
Go Playground - The Go Programming Language

Hi @antonz.org, good question!

Something like 'make([]byte, 0, 33)' does indeed create a slice with a capacity of exactly 33, as your example shows.

However, the underlying allocated heap object actually is larger.

Quick playground example that hacks things to print the heap object size:

06.01.2026 19:54 👍 11 🔁 4 💬 1 📌 0
Preview
go.sum Is Not a Lockfile In Go, go.mod acts as both manifest and lockfile. There is never a reason to look at go.sum.

PSA: go.sum is not a lockfile.

You never need to look at go.sum.

go.mod has everything you need.

05.01.2026 20:24 👍 136 🔁 25 💬 5 📌 1

Less "AI write my code" and more "AI show me where I'm slow": recording Vim keystrokes with vim -w, then analyzing them to find repetitive patterns and adopt better motions and commands.

05.01.2026 18:48 👍 3 🔁 0 💬 0 📌 0
GopherCon 2025: Profiling Request Latency with Critical Path Analysis - Felix Geisendörfer
GopherCon 2025: Profiling Request Latency with Critical Path Analysis - Felix Geisendörfer YouTube video by Gopher Academy

Profiling Request Latency with Critical Path Analysis, @felixge.de @ GopherCon 2025 www.youtube.com/watch?v=BayZ...

15.12.2025 09:34 👍 18 🔁 4 💬 1 📌 1
the Steve Balmer meme, but he’s shouting “agents! Agents! Agents!”, he has a red face and is sweating

the Steve Balmer meme, but he’s shouting “agents! Agents! Agents!”, he has a red face and is sweating

I cannot think of a single thing that could possibly go wrong.

28.12.2025 00:39 👍 7 🔁 1 💬 0 📌 0
Preview
Memory Allocation in Go Memory Allocation in Go

This Go memory allocation explanation is seriously awesome😍
nghiant3223.github.io/2025/06/03/m...
#golang

25.12.2025 02:37 👍 8 🔁 1 💬 0 📌 0
Preview
Go proposal: Secret mode Automatically erase memory to prevent secret leaks.

Accepted! Go 1.26 will include a SECRET package. Don't tell anyone about it 🤫

Just kidding. The package wipes the memory to keep secrets safe — hence the name.

antonz.org/accepted/run...

09.12.2025 10:31 👍 29 🔁 4 💬 3 📌 1
FAST '23 - Building and Operating a Pretty Big Storage System (My Adventures in Amazon S3)
FAST '23 - Building and Operating a Pretty Big Storage System (My Adventures in Amazon S3) YouTube video by USENIX

Amazon’s phrasing is “Designed to provide 99.999999999% durability …”

docs.aws.amazon.com/AmazonS3/lat...

Andy Warfield gave a pretty good explanation of what they do to achieve this.

youtu.be/sc3J4McebHE?...

08.12.2025 09:57 👍 13 🔁 1 💬 2 📌 0

11 nines of durability measured where? Serving-side?

09.12.2025 00:00 👍 0 🔁 0 💬 0 📌 0