For forty years the memory hierarchy has been a compromise between speed and price, with a conspicuous gap between DRAM and flash. DRAM is fast and volatile; NAND is persistent and dense but behaves nothing like memory. Phase-change memory is the most persistent attempt to fill that gap, and its failure to replace NAND says as much about economics as it does about physics. The interesting question is not which technology is better in isolation but what each one makes affordable to do.
NAND flash sells density and low cost per bit while charging you in erase blocks and write amplification, whereas phase-change memory sells byte-level latency and endurance while charging you for every bit of capacity.
Two ways to hold a bit
NAND stores information as charge. A floating-gate or charge-trap transistor shifts electrons onto an isolated region through tunnel oxide, and the threshold voltage of the transistor encodes one or more bits. Reading is a sense operation on a string of cells; writing is a program operation that increases threshold voltage, and erasing requires pulling the whole block back to a low state. Because erase granularity is a block — often hundreds of kilobytes or megabytes — updating a four-kilobyte page means reading the block, modifying it in RAM, and rewriting it elsewhere. That indirection is the root of garbage collection and write amplification.
Phase-change memory stores information in material state. A chalcogenide alloy such as Ge2Sb2Te5 can be driven into a crystalline phase, which conducts well, or an amorphous phase, which resists current. A short, high-current pulse heats a small region past its melting point and quenches it into the disordered state; a longer, lower pulse holds it above crystallization temperature long enough to order the lattice. The two states differ in resistance by a factor of ten to a hundred, which a sense amplifier can read. There is no erase step and no block granularity: any address can be written directly, which is what makes the medium byte-addressable.
The mechanism explains the latency gap. Charge transport in NAND requires a high-voltage program sequence and, often, verification passes; a phase-change cell is switched by a single pulse and read like a resistor. DRAM access is tens of nanoseconds, phase-change read latency is on the order of tens to a hundred nanoseconds, and NAND read latency is typically tens of microseconds — two orders of magnitude apart. That gap is why a phase-change device can sit on the memory bus while a NAND device must sit behind a controller and a block interface.
Latency, endurance, and the write path
Endurance follows from the same physics. Every NAND program-erase cycle stresses the tunnel oxide, and as traps accumulate, the window between encoded states narrows until error correction can no longer recover the data. A triple-level cell might tolerate a few thousand cycles; a quad-level cell, packing four bits per cell, may manage only hundreds. Controllers compensate with wear leveling, over-provisioning, and sophisticated LDPC error correction, and the whole trick works because most workloads write far less than they read.
Phase-change switching is a reversible structural transition rather than an oxide-damaging tunnel event. Cells in real devices survive on the order of ten million to a hundred million writes, several orders of magnitude beyond NAND, though resistance drift in the amorphous state and the slow crystallization step remain engineering headaches. The consequence for software is profound: a write-intensive structure such as a B-tree node or a write-ahead log can be updated in place instead of being carefully buffered to avoid wearing out the device.
A QLC NAND block tolerates roughly a thousand program-erase cycles before its error rate climbs, while a phase-change cell can absorb on the order of ten million writes, which changes what you are willing to put on it.
The practical work is in the interface. NAND speaks through a block device driver and a filesystem, so an application pays a syscall, a page cache lookup, and a controller round trip on every access. Persistent memory is reached through ordinary load and store instructions against a memory mapped region, with cache-line flushes and memory fences providing durability guarantees. Libraries such as PMDK were built to make those semantics manageable, and file systems such as DAOS were designed to bypass the page cache entirely. Without that software layer, the hardware's latency advantage is invisible to an application still issuing read() calls.
Cost per bit is the moat
NAND wins because a single transistor can hold several bits and because manufacturing reached staggering densities at a few cents per gigabyte. Phase-change cells require a larger selector and a heater structure, and the material stack is less amenable to the same aggressive scaling. At equal capacity, phase-change memory remains many times more expensive per bit, which confines it to workloads where the latency and endurance are worth paying for: metadata, indexes, logs, and the hot tier of a database.
That is the reason the technology's commercial history is sobering. Products built on related phase-change principles, including the well-known 3D XPoint line, were ultimately withdrawn because the price per bit could not compete with cheap NAND while the addressable market stayed narrow. The lesson is not that the physics failed; it is that a new memory class must be cheap enough to be used generously.
The storage-class memory market is still projected to reach $12 billion by 2030, driven by specialized tiers rather than wholesale replacement of flash. The likely future is hierarchical: DRAM at the very top, a persistent byte-addressable tier for hot mutable data, NAND for bulk, and object storage for cold archives.
An everyday landing: games, phones, and cloud
A game console illustrates the trade. A modern title streams textures and geometry from a flash drive, and developers spend enormous effort predicting what the player will look at next so the right assets are resident in RAM before they are needed. A byte-addressable persistent tier would blur that boundary: the engine could treat the entire asset catalog as addressable state, page nothing explicitly, and still meet frame deadlines because reads happen at memory speed. Load screens shrink not through clever compression but because the storage device is no longer a different world from memory.
Phones show the opposite pressure. Flash in a phone is cheap and dense, which is why a device can hold terabytes of photos, but the controller must spread writes carefully so the operating system's constant metadata updates do not wear out a block. A phase-change tier would handle that churn without the amplification, at the cost of capacity that a phone buyer would notice immediately on the price tag. For most people, the economics correctly choose NAND: having room for every photograph matters more than shaving microseconds off a metadata write.
How a new memory class changes software
The deepest effect of a persistent, byte-addressable tier is on programming models. For decades, durability and computation were separate domains: you computed in memory and saved to storage, with an explicit boundary in the code. Remove that boundary and old assumptions break. A struct in persistent memory can survive a crash mid-update, so data structures need transactional update protocols and careful ordering of stores and fences. A pointer stored yesterday may point to a different object after a restart unless the allocation scheme preserves address stability.
Teams that adopt this model write software that treats crashes as normal control flow rather than exceptional events. Recovery becomes a fast path, not a reload, and services restart in seconds instead of minutes. The social payoff arrives as reliability that nobody notices: a food order survives a server restart, a hospital record is never halfway written, a game session resumes exactly where it stopped. Infrastructure that fails invisibly is the hardest kind to appreciate and the most valuable kind to own.
Phase-change memory and NAND flash compete less on speed than on where they let you place the boundary between memory and storage, and that boundary decides what your software can afford to remember.
NAND will keep holding the bulk of the world's data because density and price are hard arguments to beat. Phase-change memory's contribution is to show what becomes possible when that boundary moves — and to remind us that a technology has to fit a budget, not just a benchmark, before it changes how we build software.
SOL: HCqPmPJM3NVtS6YrmVaTZYnuP8XZ2PFgQZKT94VK1LkS
Creating this takes real effort — thank you for the support.