Edge computing differs from cloud computing in that it moves computation closer to the edge of the network, near the data source or device, while cloud computing relies on centralized remote servers for data processing.