Sign in
Module 1 · Part 1 of 12 · free to read

Part 1

Chapter 1: The Forgotten Constraint...–- The first computer I ever fell in love with had 256 bytes of memory. Not 256 gigabytes. Not 256 megabytes. Two hundred and fifty-six bytes. That is less space than it takes to store this sentence. It was a simple embedded controller in a piece of laboratory equipment, and I spent an entire summer coaxing it to do things its manufacturer had declared impossible. I learned more about programming in those three months than in four years of computer science. Because when you have 256 bytes, you cannot afford a single wasted instruction. You cannot hide behind layers of abstraction. You cannot call a function just because it feels clean.

You have to think. Really think. Every byte, every cycle, every branch matters. And that, dear reader, is where this book begins.The chapter that follows is not another celebration of the cloud, where we spin up another hundred containers because monitoring showed a 0.2% latency spike. It is not a tribute to the latest framework that compiles down to JavaScript only to run a to-do list that could have been written in twenty lines of HTML. This chapter is an autopsy of our collective amnesia. We forgot how to be efficient. Worse, we started believing that efficiency no longer mattered. But the pendulum swings back. And those who understand the forgotten constraint will inherit the next era of computing.The Great Acceleration and the Greater ForgettingIn 1965, Gordon Moore observed that the number of transistors on an integrated circuit doubled approximately every two years.

For decades, this prediction held with uncanny precision. Clock speeds rose from kilohertz to gigahertz. Memory grew from bytes to gigabytes. Disk space expanded from kilobytes to terabytes. A programmer in 1985 who wrote code that took ten seconds to run could wait two years and run the same unoptimized code in five seconds, just from hardware improvements. By 1995, that same code ran in two seconds. By 2005, it ran in half a second. The hardware engineers were cleaning up our mess.Something insidious happened during this golden age. We stopped feeling the weight of our code. A web developer today might ship a front-end bundle that contains more JavaScript than the entire source code of the Apollo Guidance Computer, which landed humans on the Moon.

Keep reading — free

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

Sign in