Antoine Rakotozafy ← From Bits to Agents
From Bits to Agents · 03/31Chapter I · The Foundations

Transistors: From one to billions

A single transistor, a small array of transistors and a dense chip: from one switch to billions.

How did we go from computers filling entire rooms to carrying powerful computers in our pockets?

The answer begins with a component so small that billions of them can now fit inside a single chip.

The transistor.

One transistor at Bell Labs in 1947 compared with an estimated 24 to 30 billion transistors on the Apple A20 Pro in 2026.

In the first article, we explored how binary represents information with two values: 0 and 1.

In the second, we saw how Boolean logic turns those values into decisions: AND, OR, NOT.

But logic on paper doesn’t compute anything. We need physical mechanisms capable of performing it.

Before the transistor

Early electronic computers relied on vacuum tubes to control electrical signals.

ENIAC, completed in the 1940s, contained approximately 18,000 vacuum tubes. These components consumed significant amounts of electricity, generated heat and required substantial physical space.

In 1947, John Bardeen and Walter Brattain demonstrated the first working transistor at Bell Labs, within a research group led by William Shockley.

Their work transformed electronics.

Historical progression from vacuum-tube electronics to early transistors and modern integrated circuits.

Transistors eventually enabled electronic systems to become smaller, more energy-efficient and more reliable than their vacuum-tube predecessors.

But how does such a small component actually work?

How does a transistor work?

Imagine a water tap.

By controlling the position of the tap, you regulate the flow of water. A transistor operates on a comparable principle: an electrical input controls the flow of electrical current.

Comparison between a water tap controlling water flow and a transistor controlling electrical conduction.

Transistors can amplify signals or operate as switches.

Modern digital processors primarily rely on MOSFETs: Metal-Oxide-Semiconductor Field-Effect Transistors.

A MOSFET has three principal terminals:

  • Gate: controls the conductivity of the channel.
  • Source: one terminal of the current path.
  • Drain: the other terminal of the current path.

In a simplified enhancement-mode n-channel MOSFET, applying a sufficiently positive gate-to-source voltage creates a conductive channel between the source and drain.

This allows an electrical signal to control another electrical signal.

Cross-sectional MOSFET diagram showing how gate voltage controls the formation of a conductive channel.

By combining transistors into circuits, engineers can implement logic gates, memory elements and increasingly sophisticated computational operations.

A transistor alone doesn’t understand binary arithmetic. But carefully designed networks of transistors can perform it.

From transistors to logic gates

Yesterday, we met logic gates as an idea: AND, OR, NOT. Here’s how transistors make them real.

Consider a CMOS inverter.

CMOS stands for Complementary Metal-Oxide-Semiconductor. It combines two complementary transistors: a PMOS transistor and an NMOS transistor.

MOS is the transistor we just explored. The N and the P describe what carries the current. In an NMOS, it’s electrons, which have a negative charge, and the switch closes when its gate receives a 1. In a PMOS, it’s “holes”, places where an electron is missing that behave like positive charges, and the switch closes when its gate receives a 0. Two opposite switches.

When the input is low, the PMOS provides a path towards the positive supply voltage, producing a high output.

When the input is high, the NMOS provides a path towards ground, producing a low output.

The output is therefore the logical opposite of the input.

This is a NOT gate.

A software engineer using a NOT operation doesn’t need to design this electrical circuit.

The underlying hardware already provides the necessary capability.

This is another layer of abstraction: moving from controlling physical signals to expressing logical operations.

From individual components to integrated circuits

Initially, electronic circuits were assembled using individual components.

The development of integrated circuits in the late 1950s allowed multiple electronic components to be manufactured on a single semiconductor substrate.

Instead of manually connecting individual transistors, engineers could manufacture increasingly complex circuits within a single chip.

In 1965, Gordon Moore observed that the number of components on integrated circuits was increasing rapidly.

This observation, later known as Moore’s law, became a guiding principle for the semiconductor industry.

To appreciate the scale of progress:

YearProcessorTransistor count
1971Intel 40042,300
1978Intel 808629,000
1989Intel 80486≈ 1.2 million
1993Intel Pentium≈ 3.1 million
2020Apple M116 billion
2023Apple A17 Pro19 billion

These processors represent different architectures and applications. Their transistor counts illustrate the evolution of integration scale rather than a direct comparison of computational performance.

Miniaturization has enabled extraordinary computational capabilities within devices that fit in our hands.

However, increasing transistor density also introduces challenges, including heat dissipation, power consumption, manufacturing complexity and physical limits.

Moore’s law is an empirical observation, not a physical law guaranteeing indefinite progress.

From technology to business value

Take in-person payments.

Traditionally, accepting card payments required dedicated payment hardware.

Today, technologies such as Tap to Pay allow merchants to accept contactless payments directly on compatible smartphones, using integrated NFC hardware, secure software and payment infrastructure.

Having worked with this technology in payments, I find this evolution particularly interesting.

A retailer can potentially equip sales associates with smartphones instead of relying exclusively on fixed checkout stations.

Comparison between a traditional fixed retail checkout and a mobile contactless payment accepted directly by a sales associate.

For businesses, this creates opportunities to reduce dedicated hardware requirements and introduce more flexible store operations.

For customers, it can mean completing a purchase directly with a sales associate rather than joining a traditional checkout queue.

The smartphone becomes more than a communication device. It becomes a business tool capable of supporting multiple operational processes.

This experience relies on far more than transistor miniaturization alone. NFC, cryptography, operating systems, security standards and payment infrastructure all play essential roles.

But decades of semiconductor innovation helped make it possible.

The architectural perspective

Modern software engineers rarely interact directly with transistors.

We work with programming languages, operating systems, APIs and development frameworks.

Each layer allows us to build on capabilities created by specialists working beneath it.

Conceptual layers connecting semiconductor components to smartphone-based contactless payment experiences.

However, hardware constraints haven’t disappeared. They still influence battery life, application performance, infrastructure costs and the feasibility of running computationally intensive workloads.

Abstraction hides complexity. It doesn’t eliminate it.

Understanding these constraints helps us choose architectures that are appropriate for the business problem rather than simply adopting the most powerful available technology.

Technology becomes more sophisticated, while the experience can become simpler.

That is one of the most powerful outcomes of abstraction.

The next layer of abstraction

Transistors give us the ability to control electrical signals.

Wired together, they become the logic gates from yesterday’s article, and gates become adders and memory.

But how do we organize these capabilities into a general-purpose computer capable of running applications, accessing memory and executing different instructions?

That brings us to computer architecture.

References and further reading

About the author. I’m a Solution Architect with a background in Software Engineering, Product Management and Data Science & AI. My experience spans hospitality, retail, telecommunications and payments. I’m passionate about demystifying technology, connecting technical capabilities with business outcomes, and designing solutions that create meaningful human experiences.