Common pitfalls in Go benchmarking - Eli Bendersky's website

golang
Advanced Go Concurrency – Encore Blog
Learn how to use Go's singleflight and errgroup packages, and other important design patterns for concurrency, with real-world examples.
Analyzing Go Build Times
Go is often praised for its fast build times. While they are pretty quick, they are slow enough that I spend a lot of time waiting for them, enough that it prompted me to go down the rabbit hole of thoroughly analyzing them. This post covers all aspects of what makes Go builds fast or slow.
Throughout this blog, we will use Istio as an example of real-world codebase.
For reference on its size:
A Deep Look Into Golang Profile-Guided Optimization (PGO)
Intro Profile-Guided Optimization (PGO) is an optimization method which improves final compiled binary by using profile data hints and compiling the code based on those profiles.
There are several optimization mechanisms that compilers usually get into account when compiling your code to binary. Like dead code elimination, Register allocation, Constant folding or function inlining; you may split your code into smaller and smaller functions and different level of abstractions to ease up future changes and modifications, but from compiler point of view multiple calls to different functions may not be very optimize and sometimes compiler decides to inline your functions!
A Million WebSockets and Go
How we developed the high-load WebSocket server with Go at Mail.Ru.
Everything You Need To Know About Pointers In Golang
► Join my Discord community for free education 👉 https://discord.com/invite/bDy8t4b3Rz► Become a Patreon for exclusive tutorials 👉 https://www.patreon.com/...
GopherCon 2018: Kat Zien - How Do You Structure Your Go Apps
How should I structure my Go code?” is probably one of the most commonly asked questions, by new and experienced programmers alike. There is almost always mo...
Calhoun.io - Go for Everyone
...
Dave Cheney | The acme of foolishness
Go struct/interface best practices
Explore best practices for struct/interface in golang.
Go Style
Style guides for Google-originated open-source projects
Style guideline for Go packages · rakyll.org
The one-and-only, must-have, eternal Go project layout
Looking for a standard Go project layout? Careful: Different projects have different needs. Find the best project layout for your Go project type.
Twelve Go Best Practices
Notes on structured concurrency, or: Go statement considered harmful — njs blog
Go Maps Explained: How Key-Value Pairs Are Actually Stored
Map is a built-in type that acts as a key-value storage. Unlike arrays where you’re stuck with keys as increasing indices like 0, 1, 2, and so on, with maps, the key can be any comparable type.
Threads and Goroutines :: Words from Shane
One Billion Row Challenge in Golang - From 95s to 1.96s
In the One Billion Row Challenge, the task is to write a program capable of reading an 1-billion-line file (with around 13GB), process and aggregate temperature readings from various weather stations, and present a report of the results on console. In this article, I share my experience attempting the challenge with Golang, providing the details of how I achieved 1.96 seconds.
Golang Structs Memory Allocation
The article discusses about Golang memory allocation inside structs and how it can be optimized for better performance.
Go 101 -Go 101
Golang online books, articles, tools, etc.
Go by Example
Gophercises
Coding exercises for budding gophers
Learn Go with Tests | Learn Go with tests
Take the Ultimate Go tour!
Our material covers all the language syntax, idioms, implementation and specification of the language.
Let My Gophers Go!
A new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team
Optimizing Go string operations with practical examples
I’m going to show you how I took a very simple program and made it run almost 5 times faster, with very minimal adjustments. You may know…
10 Things I Hate About Go - YouTube
Although I'm a fan of Go, it's not all roses and sunshine. In this video, I explain 10 things about the language I don't like.0:00 Intro1:12 0. Go's error h...
making regex from scratch in GO - Lewis Metcalf
Measuring your system’s performance using software (Go edition) – Daniel Lemire's blog
Security & Performance