Explore
Module 1 · Part 1 of 12 · Free preview

Part 1

Chapter 1: The Abundance Lie--–- The year is 1995. In a cramped dorm room in Norway, a 19-year-old programmer named Jon has just done something impossible. He has rendered a real-time, texture-mapped 3D landscape—complete with a synthesizer soundtrack and interactive camera controls—in exactly 64 kilobytes. That is not a typo. Sixty-four kilobytes. The email client on your phone, right now, is likely larger than ten thousand copies of Jon's entire program. His toolchain was a hex editor, an assembler, and a mind trained to see constraints not as obstacles but as the very source of creative power.–- Fast forward to 2025. A team of six developers at a well-funded startup is preparing to deploy a "simple" chat application.

Their node_modules folder weighs in at 487 megabytes. The production container image, after three rounds of "slimming," is 320 megabytes. The application, which sends strings of text between two users, consumes 1.2 gigabytes of RAM at idle. When asked why, the lead developer shrugs and says, "Memory is cheap. The cloud scales."–- This book is about the chasm between those two worlds. It is about the lie that abundance tells us, and the truth that scarcity reveals. The lie is that constraints are problems to be eliminated. The truth is that constraints are design partners to be embraced. The lie is that faster hardware and bigger cloud instances will save us.

The truth is that inefficiency is a tax that compounds forever. The lie is that "clever" code is impressive. The truth is that inevitable code—code that, given the constraints, could not have been written any other way—is the only kind that endures.–- Welcome to Constraints for Coders. This is not a book about making your code slightly faster. It is a book about rewriting your relationship with the machine.The Cloud Fallacy: How Abundance Became a Crutch–- The Cloud Fallacy is not a single misunderstanding but a constellation of them. They cluster around the assumption that resources are effectively infinite because someone else—AWS, Google Cloud, Azure—owns the data center.

Keep reading — free

Sign in with your SamEnrico account to read the whole of lesson 1.

Sign in