Optical physics does digital optimization—which we call Onsager Computing—for machine learning, control theory, backpropagation, etc.