Ehab Terra

I build developer tools and learning references —
and write about how they work.

Software architect and Go engineer. Backend systems, language internals, and software architecture.

Projects & references

Tools I've shipped and the visual references I maintain — each lives on its own site.

Latest writing

All posts

Pruning: Prove It Can't Matter, Then Skip It

My Go tool built 7.1 million nodes to use 104 thousand. Pruning the subtrees that provably couldn't matter made it 2–11× faster — and the output go...

#GoLang#Go#Performance#Optimization

Go Struct Padding, and the 2% I Fought For

Field ordering is free memory — until you measure how little of your heap it actually owns

#GoLang#Go#Performance#Memory

🔍 Extracting Generic Function Signatures from Go AST: A Journey Through go/types

A deep dive into extracting generic function signatures from Go AST, exploring the limitations of go/types.Info.TypeOf and finding a robust solutio...

#GoLang#Go#AST#Generics

🪤 The Hidden Cost of Outdated API Specs (for Go Developers)

Why docs drift happens, how to avoid it, and where spec-first vs code-first really break

#GoLang#Go#Backend#DevOps

🚀 Building a Petri Net-Based Workflow Engine in Go: From Theory to Production

A deep dive into building a flexible, extensible workflow engine inspired by Symfony's Workflow Component

#GoLang#Backend#DevOps#Workflow