Posts

The Ignorant Protocol

Image
One Raft crate, from a browser tab you can break to seven bare-metal boards A real Raft, live in your browser: raft.umbertogotti.dev . Here is how it got there. The protocol has no idea where it is running. That is not a limitation. It is the entire point. Prologue Most distributed systems are born married to their deployment. The consensus code reads the clock. It opens the socket. It decides when to fsync. It spawns the thread. Five years later, that marriage is the architecture: you cannot test the protocol without the network, you cannot move it without rewriting it, and you cannot prove it without deploying it. This is about a Raft implementation that refused the marriage. It has never read a clock. It has never opened a socket. It has never spawned a thread. It runs in a single test thread, in a browser tab, in OS processes, in Kubernetes pods, in an emulated Cortex-M4, and on seven bare-metal boards on an Ethernet switch — two different chips, one Raft cluster. The...

Why I Am Willing to Pledge That I Will Never Ever Fire Up the Debugger Again!

Waterloo for the Debugger Prologue Every profession eventually accumulates rituals. Some are useful. Some once were useful. Some survive long after the reason for their existence has disappeared. Software engineering is no exception. One of our most cherished rituals is this: "Fire up the debugger." For decades, it was the battle cry of competent engineers. The program misbehaved. The debugger came out. A breakpoint was set. Variables were inspected. Understanding was achieved. The bug was fixed. The world moved on. Today I am willing to make a public pledge: I will never ever fire up the debugger again. Not because bugs disappeared. Not because software became perfect. Not because debuggers stopped working. But because software engineering evolved. And the debugger lost the war.

Fred, Taz and Ennio: A Field Guide to Developer Species in the AI Era

Every LinkedIn post about AI and software development ends the same way. The developer of the future will be a conductor, gracefully waving a baton at an orchestra of agents. Lovely. Now look around your office. Three species currently roam the world's codebases. I have observed them in their natural habitat, at considerable personal risk. This is your field guide.

Why Coding Is (Almost) None of My Business Anymore

The Aftermath I won. Or maybe Opus won. The agent landed 365 commits of restructuring on my consensus codebase in 45 hours and 41 minutes, from Friday 17:00 to Sunday 14:41. In all that time I didn't send it a single word. Every test was green at every commit. No test was lost, and the code is measurably better than I left it on Friday evening. This is the aftermath, the second of multiple articles. The first one, War Is Declared , set out the terms. This one checks them. The bet, checked There were three conditions, and breaking any one of them meant I'd lost. No intervention. Not one message from me, and the interventions table is empty. The run never stopped for me or for the environment either: no usage-limit wait, no lost key, no network stop. No test lost, no assertion weakened outside the licence. 30 tests were removed and 2 now say less, each under the one narrow licence and each named in public, with the test that now carries its claim. None is unmapped...

Why I Am Willing To Bet That Coding Is (Almost) None Of My Business Anymore

War Is Declared I'm betting that an AI agent can do about 200 commits of serious restructuring on my consensus code base without me touching a line. Every test stays green at every commit, the predictions are frozen before it starts, and the whole record is public while it runs. This is the declaration of war, the first of multiple articles. The next, The Aftermath , reports who's left standing. The bet The run finishes with no intervention from me and no test lost. No assertion is weakened, bar one narrow license whose every use is named in public. Every test is green at every commit. Break one, and I lose. Not "mostly worked". Lost. Any message from me counts as an intervention, even a nervous "you okay in there?" at 3 a.m. The agent can't ask me anything either. Every intervention gets logged, and I'd like that log to stay empty. What's on the table The codebase is the IBFT consensus implementation from my distributed-systems res...

MetalRaft: When Zero-Cost Abstractions Become Expensive

“ In this project, we ONLY use generic parameters. No dynamic dispatching! ‘Cause we care a lot about performance”, said the architect. At first glance, this position appears entirely defensible. Zero-cost abstractions are one of Rust’s signature features, and avoiding unnecessary indirection is often the correct engineering choice. Yet, I knew from the start that such blanket statements always hide surprises. In other words, the statement does not address whether “zero-cost” applies beyond runtime performance, nor how those trade-offs evolve as a system grows in scope and abstraction depth. The Experiment Setup Months later, when I deliberately decided to explore multiple architectural variations for a well-known and sufficiently complex system in Rust, the statement came back to my mind, and I set out to build this project by fully adhering to it. The intent was clear: Show that after a specific project size is reached, the principle of diminishing returns kicks in hard and by th...