Programmable integrated photonics aims to replicate the versatility of field-programmable gate arrays in the optical domain. However, scaling these systems has been prevented by the high power ...