[ Open edition · Chapter 5 ]
Chapter 5: Software Writes Hardware
Learning, development, inheritance, and the permeability of biological form.
Chapter 5 — Software Writes Hardware
Everything in Part II moved in one direction. Selection pressures acted on us — the world reached in and shaped the organism, and the organism was the clay, never the hand. Mismatch happened to us. Relaxation happened to us. The supernormal stimulus was cut for our locks by something that was not us, and the runaway maximizer optimized us as if we were the environment rather than the point. Two hundred pages of the organism as object.
Part III turns the arrow around. And it begins with a claim that, the first time you meet it, sounds like heresy — sounds, specifically, like the one heresy every biology student is drilled to reject on sight. The claim is that behavior can lead evolution. That what an animal does — the habits it adopts, the choices it makes, the way it decides to live — can reach forward across generations and reshape the bodies and instincts of its descendants. That the software, run long enough, can rewrite the hardware.
I have to disarm the objection immediately, because if I don't, you will spend the whole chapter waiting to catch me in it. This is not Lamarckism. It is not the discredited idea that the blacksmith's big arms are inherited by his son, that acquired characteristics get written directly back into the genes. Nothing in this chapter violates a single thing established in Chapter 1. The genome is not being edited by experience; no giraffe's stretch is being copied into its DNA. What I am describing is stranger and, unlike Lamarck, true — a fully Darwinian mechanism, discovered independently more than a century ago, by which behavior nonetheless ends up steering the genome, not by writing to it, but by changing what the genome is selected for. It is called the Baldwin effect, and I called it, at the end of the last chapter, the first crack of light in this book. Here is why.
I. Baldwin's Heresy That Wasn't
In 1896, the American psychologist James Mark Baldwin published a paper with the modest title "A New Factor in Evolution," and the new factor was this: learning changes the direction of selection. His argument has a beautiful two-step structure, and the whole of this chapter — and arguably the whole back half of this book — is contained in it, so let me lay it out with care. [Established as a theoretical mechanism; its prevalence in nature is debated, which I'll address below.]
Step one: plasticity buys time. A population encounters a new challenge — a changed climate, a new food source, a new predator, a new place to live. Most individuals, confronted with a genuinely novel problem, simply fail and die. But some individuals, through the flexibility that a nervous system provides — through learning, through the plastic capacity to adjust their behavior within their own lifetime — manage to cope. They figure out how to crack the new nut, exploit the new food, survive the new cold. Crucially, learning is expensive and unreliable: it takes time, it costs energy, it fails often, the naive young die while they're still figuring it out. But it works often enough to keep the lineage alive in the new niche. Learning, in Baldwin's picture, is a life-support system — it keeps a population breathing in an environment that would otherwise have killed it outright, holding the door open.
Step two: selection walks through the door learning held open. Now the situation has quietly transformed. The population is surviving in the new niche — but paying, every generation, the steep tax of having to learn the crucial behavior from scratch, slowly and fallibly, each individual reinventing it while the clumsy die. And so, for the first time, there is powerful, sustained selection pressure favoring any genetic variant that makes the vital behavior easier, faster, cheaper, more instinctive — that lets an animal be born already good at it, or already inclined toward it, rather than having to learn it the hard way. Generation by generation, selection favors the individuals whose genes do more of the work and whose learning has to do less. The behavior becomes progressively more innate, more canalized, more built-in — until, at the limit, what the first generation had to laboriously learn, a later generation is simply born knowing. Biologists call that endpoint genetic assimilation: the learned has become the instinctive.
Read the two steps together and see what has happened, because it is subtle and it is everything. No acquired characteristic was ever inherited. Not once. At every step, all that happened was ordinary Darwinian selection — differential survival of genetic variants. And yet the outcome is that a behavior which began as a free choice, a learned adjustment, an act of the individual will, has been carved down into the innate equipment of the species. Behavior led. Biology followed. The population's collective decision about how to live became, over enough generations, what its descendants were born being. Choice, laundered through selection, became inheritance.
And this is not only a story about birds and nut-cracking. The clearest human case is written in the enzyme that let me have milk in my coffee this morning. For most of our species' history, adults could not digest lactose — the gene that produces the necessary enzyme, lactase, switched off after infancy, as it still does in most mammals and most humans worldwide. Then, a few thousand years ago, some human populations started keeping cattle and drinking their milk — a behavior, a cultural choice, adopted long before any relevant genetic change. And that sustained behavior created, exactly as Baldwin described, a brand-new and intense selection pressure: in a dairying population, an adult who happened to carry a mutation that kept the lactase gene switched on could extract nutrition and clean water from milk that sickened everyone else, and that advantage was enormous. So the mutation spread — independently, in several dairying populations, one of the strongest and fastest episodes of natural selection documented in our species. The behavior of drinking milk did not write the lactase-persistence gene. But it selected for it, ferociously, where before there had been no reason to. We started drinking milk, and then, over a few hundred generations, we became the kind of animal that is born able to. Software wrote hardware, in our own bones, within recorded history. [Established — lactase persistence and gene-culture coevolution are well documented.]
II. Waddington's Proof: Making the Learned Innate, in the Lab
Baldwin gave us the logic. It stayed a logic — elegant, plausible, unproven — for half a century, until a British biologist named Conrad Hal Waddington did something audacious in the 1950s: he made it happen on a bench, in fruit flies, in a controlled experiment you can replicate. His experiments are the empirical spine of this chapter, and they are worth knowing in exact detail, because the detail is what makes the abstract idea suddenly, physically real. [Established.]
In the first experiment, Waddington took fruit fly pupae and gave them a shock: he heated them, sharply, to about 40°C for a window of hours after they formed their pupal case. A fraction of the flies that developed from this heat shock came out with a distinctive wing abnormality — a break in one of the cross-veins of the wing, a trait called crossveinless. The heat, in other words, could induce a body change that the flies would not normally show. So far, nothing revolutionary: a stressor produces an abnormality. But then Waddington did the audacious thing. He took the crossveinless flies — the ones that had responded to the heat — and bred them together. Then he heat-shocked their offspring and again bred the ones that showed the trait most strongly. And again. And again, selecting each generation for the flies most responsive to the heat.
The proportion of flies showing crossveinless wings climbed, generation over generation. And then came the result that should genuinely startle you: after enough generations of this selection, the crossveinless trait began to appear in flies that had never been heat-shocked at all. The environmental trigger was no longer needed. A trait that had started as an induced response to a stressor had become an innate, hardwired feature that the flies now developed on their own, from their genes, in the complete absence of the heat that first revealed it. He ran essentially the same experiment a second way, using ether vapor on the eggs to induce a dramatic four-winged "bithorax" body plan, selected on it across generations — and again, the trait eventually appeared without any ether at all, genetically fixed. [Established — Waddington's genetic assimilation experiments are classic and have been revisited and confirmed.]
Understand what Waddington had just demonstrated, because it is the proof of concept for everything the rest of this book proposes. He had taken an environmentally induced trait — a change that began as the body's plastic response to a condition — and, through nothing but sustained selection, converted it into an innate, inherited one. He had made the acquired become the built-in, without a whisper of Lamarck. And here is the mechanism that makes it non-magical, and that I want you to hold onto: the stress did not create the crossveinless genes. It revealed them. Every population carries a hidden reservoir of genetic variation — variants that normally have no visible effect because development is buffered, canalized, robust enough to produce the standard body plan despite them. The heat shock pushed development past that buffer, past a threshold, and exposed the hidden variation to view — and, critically, to selection. Once exposed, selection could act on it, accumulate it, and eventually pile up enough of it that the trait crossed the threshold on its own, no shock required. Plasticity, in other words, is a way of surfacing the genome's hidden options so that selection can choose among them. Behavior and stress don't write new code. They surface latent code, and let selection promote it. That is how the software reaches the hardware.
III. Why the Hardware Was Always More Editable Than It Looked
There is one more piece, and it explains why biology is soft enough for any of this to work — why the genome yields to these pressures rather than sitting inert. It comes from the field that revolutionized biology in the last few decades, evolutionary developmental biology, which everyone shortens to Evo-Devo. [Established.]
The old picture of the genome was a blueprint — a one-to-one architectural drawing where each part of the plan corresponds to a part of the building, and to change the building you must redraw that exact part. If that picture were true, editing an organism would be nearly impossible; every change would require reengineering a dedicated stretch of dedicated code. But Evo-Devo revealed that the genome is not a blueprint at all. It is closer to a recipe, or better, a program — a set of instructions that unfold over developmental time, full of switches, regulators, and master controls that turn other genes on and off in sequence. And the staggering discovery at the heart of the field is how much of the animal kingdom is built from the same small toolkit of these master control genes — the Hox genes and their relatives — deeply conserved across creatures as distant as flies and humans, the same ancient switches wired to different downstream effects.
The consequence is profound and it is the reason "software writes hardware" is a mechanism and not a metaphor. Because the body is built by a regulatory program rather than a fixed blueprint, an enormous change in form can be produced by a tiny change in regulation — flipping a switch, shifting when or where a master gene fires, rather than laboriously redesigning a structure gene by gene. A small tweak to a Hox gene can move a limb, add a segment, transform one body part into another — which is precisely why Waddington's ether could produce a four-winged fly by perturbing a single developmental switch. The hardware is written in a language full of high-level switches, and high-level switches are, by their nature, easy to throw relative to the size of the effect they produce. The genome, it turns out, was never the rigid, bottom-up blueprint the blind-watchmaker caricature implied. It is a layered, regulated, switch-rich program — and a switch-rich program is an editable one. The substrate was more editable than we ever thought, because it was written, all along, in something much more like software than like stone.
IV. Choice Becomes Inheritance — and the Honest Fences
Now let me gather the three findings into the claim of the chapter, and then fence it as carefully as it deserves, because this is a claim that can be inspiring or dangerous depending entirely on how precisely it is held.
The synthesis, stated plainly: Behavior is not merely an output of biology, the last helpless link in a chain that runs genes → body → behavior. Behavior is also an input to biology. Through the Baldwin effect, sustained behavior changes the selection pressures a lineage lives under; through genetic assimilation, those pressures can carve a learned behavior down into an innate one; and because Evo-Devo shows the genome to be a switch-rich program rather than a rigid blueprint, it is soft enough to be carved this way. The arrow that ran only one direction through all of Part II — world shapes organism — turns out to run both ways. What a population does, sustained across generations, helps determine what its descendants are born being. Our habits are, in a slow and literal sense, the raw material of our descendants' instincts. [Inferred where applied to human self-design; the underlying mechanisms are Established, the extrapolation is mine.]
And now the fences, four of them, because an unfenced version of this idea is exactly the kind of thing that goes wrong.
First, the timescale is generational, not personal. Nothing here lets you edit your own biology by choosing better habits, and nothing lets you hand your children your acquired skills through your genes. The Baldwin effect and genetic assimilation work through selection, across many generations — Waddington needed generation after generation of flies; lactase persistence took hundreds of generations of humans. This is a mechanism for how a lineage reshapes itself over deep time, not a self-help program. Your habits shape your descendants' instincts the way a river shapes a canyon: really, but not this afternoon.
Second, it is Darwinian, not Lamarckian, and the distinction is not pedantry — it is the whole thing. At no point does experience write to the genome. Behavior only ever changes what gets selected. I belabor this because the inspiring version of the idea is constantly, lazily misstated as "you can will changes into your bloodline," and that is false, and a book that traffics in it would forfeit every promise I made you in the Introduction.
Third, its importance in nature is genuinely debated. Biologists agree the Baldwin effect and genetic assimilation are real — Waddington demonstrated the mechanism, and cases exist. But how much of natural evolution they actually drive, versus ordinary selection on standing variation, is an open and contested question. I am presenting a real and demonstrated mechanism, not claiming it is the main engine of evolution. It is enough for my argument that it exists — that biology's arrow can, in principle, be reversed by behavior — without my needing it to be dominant.
Fourth — and this is the ethical fence I will keep rebuilding in every chapter — "choice becomes inheritance" is a statement about whole lineages and their habits, never a license to sort or rank people. It does not mean some people's choices make them genetically superior stock. It is uniform across the species and silent about individual worth, exactly as the mismatch and relaxation claims of Part II were. I flag it here so the reader who wants to twist it has to do so over my explicit objection.
With all four fences up, the surviving claim is still, I think, one of the most quietly revolutionary in biology, and it is the true beginning of Part III: the biological substrate is not a fixed floor beneath behavior. It is partly downstream of behavior. And behavior is the oldest tool intelligence has ever had for editing its own substrate. For four billion years that tool worked blindly and slowly, through selection no one was steering — the same blind process as everything in Part I. But it worked. Software has been writing hardware since the first animal that learned something its parents could not do. The failed architect of Part II was, without knowing it, already editing the human genome — every habit of the domesticated life quietly reshaping the selection pressures on our descendants. The question the rest of the book asks is what happens when a species stops doing this blindly and starts doing it on purpose.
V. The Turn: Toward a Faster Layer
Baldwin's mechanism is the first crack of light, but I have to be honest about how thin the crack still is. It is slow — deep-generational, run by selection, invisible within any human life. If behavior were our only route to the substrate, self-design would be a project measured in millennia, and the failed architect could ruin us many times over before a single deliberate edit took hold. The Baldwin effect proves the arrow can be reversed. It does not, by itself, put the pen in a living hand.
But it turns out there is a second layer, sitting on top of the genetic one, that runs at an entirely different speed. A layer that edits not the code but its expression — that can turn genes up and down in response to how you live, within a single lifetime, and can, in at least some cases, pass those settings to the next generation without altering a single letter of the DNA beneath. If the genome is a piano, this is the difference between rebuilding the instrument and simply playing it — and it is the first place in this book where the individual, not just the lineage, gets a hand on the controls. It is called epigenetics, and it is the subject of the next chapter, which I have titled the Switchboard of Sovereignty, because it is where sovereignty over the substrate stops being a story about deep time and starts, for the first time, being a story about you.
Register note for this chapter. The Baldwin effect and genetic assimilation are Established as mechanisms — Waddington's fly experiments are classic and have been confirmed and revisited — while their prevalence in shaping natural evolution is genuinely debated, and I said so (fence three). Lactase persistence / gene-culture coevolution and the Evo-Devo account of a switch-rich regulatory genome are Established. The chapter's synthesis — "software writes hardware," behavior as an input to biology and the substrate as editable — is Established at the level of mechanism and Inferred where I extend it toward deliberate human self-design; I fenced that extension four ways (timescale, non-Lamarckian, contested importance, and no ranking of people). The reversal of the Part II arrow is the real, modest, load-bearing result. Where I reached past the evidence, I told you.