Circuit elements that store information in their electrical resistances enable a brain-like form of computing, storing and processing information in the same place.