After a day’s work, you are not quite ready to go home. Perhaps you fancy catching a film. You could head to the cinema. Instead, you retreat into your car. A few taps on the touchscreen dashboard and the vehicle turns into a multimedia cocoon. Light trickles down the interior surfaces like a waterfall. Speakers ooze surround sound. Augmented-reality glasses make a screen appear in front of your eyes.This immersive experience is at the core of what Nio, a Chinese electric-vehicle (EV) company, laid out as the future of the car at its European coming-out party last month in Berlin. The firm wants its high-end evs to be a “second living room”. Forget horsepower, acceleration and design—Nio talks up the two dozen high-resolution cameras and transistors (of which there are 68bn, about four times as many as in the latest iPhone) in their vehicles. “We have a supercomputer in our cars,” boasts Nio’s boss, William Li. Nio is at the forefront of a revolution in the car industry: what was once the archetypal hardware business is becoming ever more about software. Immutable objects that do not change after they leave the factory are turning into dynamic platforms for applications and features which can be updated “over the air”. Rather than deteriorate with age, such “software-defined vehicles” can improve over the years. Brands will become defined less by handling or mechanical excellence, and more by the services they offer, from safety features and infotainment to artificially intelligent driving aids. Nio’s cars come equipped with an ai assistant called Nomi, whose circular interface sits on top of the dashboard and smiles when you ask it questions.Like all revolutions, this one promises to usher in a new world. It will certainly benefit motorists and digitally native carmakers such as Nio or Tesla, America’s EV champion. It will also claim victims, mostly among incumbent carmakers steeped in the culture of mechanical engineering. The boss of Volkswagen, Herbert Diess, recently lost his job after botching the German giant’s software plans. For many of vw’s rivals, too, going “soft” is proving thornier than managing the other big transition, from the internal-combustion engine to electric power. It may also prove more consequential. Luca de Meo, boss of Renault, a French carmaker, likens the situation to the upheaval wrought on telecommunications by the smartphone. The shift will define the fate of a global industry with revenues of nearly $3trn. Cars have been accumulating software for decades. For the most part, however, code was deeply embedded in a car’s parts, powering the “electronic control units” of such things as the ignition, brakes and steering. Most of these programs were developed by the carmakers’ suppliers and came in completed units that were then assembled into a vehicle. Car firms “were mostly integrators”, explains Klaus Schmitz of Arthur D. Little, a consultancy.In recent years this setup has started to collapse under its own complexity. As more software was added, it became harder to make all the pieces work together, explains Andreas Boes of isf Munich, a think-tank. In June 2020 vw postponed for months the launch of the ID.3, a new ev, because of software troubles. Software engineers’ go-to approach to untangle such messes is to create a “platform”—to equip cars with a central computer powered by an operating system (os) that comes with standardised digital plugs for additional components (application programming interfaces, or APIs, in the jargon) and a connection to the computing clouds. This technical transformation, in turn, has triggered a knotty cultural one. In the old hardware world, car companies were hierarchical, process-oriented organisations often run by big egos. Launching a new model took around four years and the focus fell on meeting the deadline for the all important start of production. A new model was much the same as the old one, with precious little innovation, says Henrik Fisker, who once designed Aston Martin and BMW sports cars and now runs an EV startup bearing his name. In the new software world, by contrast, decentralised teams of developers focus more on problem-solving than on execution. Cars are updated in rhythms counted not in years but in days and sometimes hours. Products are never really finished. This is second nature to newcomers such as Tesla—which was conceived as a software company that happened to make cars and is now the world’s most valuable carmaker—as well as Nio More