1. An architecture for nanoscale electronics comprising: arrays of crossed nanoscale wires, each array comprising a plurality of crosspoints between nanoscale wires, the crosspoints being selectively programmable, wherein nanoscale wires of one array are shared by other arrays, thus providing signal propagation between the one array and the other arrays; and nanoscale signal restoration elements, allowing an output of a first array to be used as an input to a second array, wherein signal restoration occurs without routing of the signal to non-nanoscale wires.